Thread Tools Display Modes
01-10-07, 11:17 PM   #1
Riraito
An Aku'mai Servant
 
Riraito's Avatar
Join Date: Dec 2006
Posts: 32
vertical drag

how would I go about making it so when you drag a frame, it only moves vertically?
  Reply With Quote
03-22-07, 09:07 AM   #2
Synthos
A Deviate Faerie Dragon
Join Date: Mar 2007
Posts: 10
Have an anchor and offset tag in your frame that is relative to UIParent

On the event OnReceiveDrag check if the offset x value has changed then reset it.

Might work i'm not 100% on how dragging works.

If OnReceiveDrag doesn't work use On_Update but start your checking flag in OnDragStart
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » vertical drag


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