Quantcast Using an clickable icon to activate/deactive drag/drop/swap on a lua quickslot bar - LoTROInterface
VGInterface.com
Search Downloads


Go Back   LoTROInterface > LotRO > General Discussion & Support > Interface Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 08-13-2012, 11:22 PM
Delone's Avatar
Delone Delone is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2012
Posts: 21
Using an clickable icon to activate/deactive drag/drop/swap on a lua quickslot bar

Working on a modified version of D.H1cks PagedSlots, and have things working pretty much as I want them, but in use I'm finding that it's very easy to accidently drag buttons off - it's being used as a hotbar that fades out when not in combat, but I think what is happening is if I click a button just as a mob dies and the bar closes, it seems to drag the button off the bar.

What I want to know is:

If I create a clickable button on the bar, can I use it to toggle a on/off method for disabling drag/drop/swap operations whilst still keeping clicks on items in the bar active?

Thanks, Delone.
Reply With Quote
  #2  
Unread 08-14-2012, 01:38 AM
MrJackdaw's Avatar
MrJackdaw MrJackdaw is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2009
Location: Lancaster, England
Posts: 249
If you download bevy-o-bars and look in class.lua there is a proc called "Lock" which is probably just what you need.
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
Reply With Quote
  #3  
Unread 08-14-2012, 09:18 PM
Delone's Avatar
Delone Delone is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2012
Posts: 21
Thanks, will take a look.

The way I was trying it things can't be dragged off the bars, but anything dropped on a slot shows in that position, and indeed can be clicked whilst they show there, but if I then unlock and relock the bar everything reappears in the position it was when the bar was locked. Just cant seem to stop the drop operation from updating the bar.
Reply With Quote
  #4  
Unread 08-15-2012, 12:16 AM
Delone's Avatar
Delone Delone is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2012
Posts: 21
/smackforhead.

After all that, came back and looked at it again today and a misplaced "else" was the problem. Says something for not working late into the night
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
Quickslots, aliases and drag&drop issue Equendil Lua Programming Help (L) 0 05-28-2011 10:30 PM
Lua: Quickslot bar sets Neela General Authoring Discussion (L) 3 10-27-2010 06:49 AM
Drag/Drop operations SanDBoX Lua Programming Help (L) 4 10-14-2010 04:50 PM
Quickslot Bar layouts (buttons) - is there a way to save them? Askyn Interface Help (L) 3 12-08-2009 02:26 PM
quickslot bar 2 wheatgerm General Authoring Discussion (L) 3 05-14-2007 07:46 AM


All times are GMT -5. The time now is 03:04 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | VGInterface | LoTROInterface | MMOInterface | Swtorui