Quantcast Setting Top,Left,Height,Width via script - EQ2Interface
EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Dev Shack

Reply
Thread Tools Search this Thread Display Modes
  #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
  #2  
Unread 08-05-2008, 05:00 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default

Ohh you sly dog.

Thank you
This will make some coding a bit more clean, hehe.

Can't wait for the next GU.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #3  
Unread 08-06-2008, 02:31 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Wait, does that mean that you are no longer my hero Drumstix (i.e. is he setting those properties to FLOAT, which is what it sounds like to me, in which case /wrist), or is he just fixing the calculation problem?
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #4  
Unread 08-06-2008, 06:45 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default

Quote:
Originally Posted by gm9 View Post
Wait, does that mean that you are no longer my hero Drumstix



lol. I have no clue on either part. My first read of his post, meant that inputting values into the fields would trim off the decimals. Which is what we wanted previously.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #5  
Unread 08-06-2008, 06:51 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

I like your interpretation better, I must stop being so pessimistic.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #6  
Unread 08-06-2008, 08:57 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Send a message via ICQ to Landiin Send a message via AIM to Landiin Send a message via MSN to Landiin Send a message via Yahoo to Landiin
Default

iTop=0

:P posted on wrong thread lol.
__________________
Landiin's EQ2MAP Updater Discussion Download

Last edited by Landiin : 08-06-2008 at 08:59 AM.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


All times are GMT -5. The time now is 07:08 PM.


Our Network
EQInterface | EQ2Interface | War.MMOUI | WoWInterface | VGInterface | LoTROInterface | MMOInterface