lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 05-28-2011, 10:30 PM
Equendil Equendil is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2011
Posts: 52
Quickslots, aliases and drag&drop issue

I've been playing with quickslots quite a bit, and cannot get "aliases" to drag & drop properly. I can make a functioning "alias" quickslot:

Code:
quickslot = Turbine.UI.Lotro.Quickslot();
shortcut = Turbine.UI.Lotro.Shortcut( Turbine.UI.Lotro.ShortcutType.Alias, "/slap" );
quickslot:SetShortcut( shortcut );
It'll work as an alias *but* drag & drop onto another quickslot (native or API created) will not replace that quickshot's content. To track the problem I tried to drag & drop onto a custom control, and it appears that DragDropInfo:GetShortcut() returns nil, which, well, is obviously why that fails.

Note that it does not matter how the shortcut was initialized, I've tried initializing with data copied from native shortcuts (created with /shortcut), I've tried both constructors, no difference.

I've checked TonicBars and it seems to exhibit the same problem with aliases.

Any insight appreciated.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with custom quickslots aens Lua Programming Help (L) 5 03-26-2011 07:13 PM
Drag/Drop operations SanDBoX Lua Programming Help (L) 4 10-14-2010 04:50 PM
Modifying Quickslots Svenn XML modification help (L) 2 04-06-2010 10:44 PM
Quickslots.. felgrath Interface Help (L) 6 01-06-2010 12:13 AM


All times are GMT -5. The time now is 11:53 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui