EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Dev Shack

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 08-05-2008, 04:58 PM
SOE-Rothgar SOE-Rothgar is offline
A Griffon
Yes this person is from Daybreak!
 
Join Date: Aug 2007
Server: Unrest
Posts: 208
Default Setting Top,Left,Height,Width via script

I just fixed a bug setting these properties in UI Script.

The problem occurred if you tried to set the property equal to the result of an expression, for example:

parent.Control.Height = parent.Control.Height + parent.OtherControl.Height

The result of a numeric expression is returned as a float, but these 4 properties were parsing the value as a long which was not liking the fact that the value had a period in it.

This fix will go out with GU48 along with some more UI changes to keep you busy as if you guys didn't have enough to do. =)
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 06:46 AM.


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