lotrointerface.com
Search Downloads


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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 10-12-2010, 08:19 PM
SanDBoX's Avatar
SanDBoX SanDBoX is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Location: Idaho
Posts: 40
Drag/Drop operations

I am trying to setup a window so that it will accept a drag&drop item, I have figured out how to see when it happens, but cant figure out how to get the item that was dropped, I really dont want to use a quickslot for this (could cause issues latter)

So far I have :
Quote:
Window = class( Turbine.UI.Window )

function Window:Constructor( )
Turbine.UI.Lotro.Window.Constructor( self )
self:SetSize( 100, 100 )
self:SetPosition( 100, 100 )
self:SetText( "Testing Grounds" )
self:SetAllowDrop( true )
end


function selfragDrop(sender, args)
Turbine.Shell.WriteLine( "Received Item" )
end
but when I cycle through the information from sender all I get is the y,x coords and a seemingly unused "dragdropinfo" table which just has an __implementation atribute that is blank.

Anyone know how to collect the dropped item?
Reply With Quote
 



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


All times are GMT -5. The time now is 04:26 PM.


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