EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 06-12-2006, 02:06 PM
Sl4d3 Sl4d3 is offline
A Young Mystail Rat
 
Join Date: Feb 2006
Server: Antonia Bayle
Posts: 5
Default Moving a window to negative value

Hi,

For my ui, i was making a small button to quickly switch from small to big display.

I was testing out and everything is ok if i use positive value. The windows just move as it should. But if i try to use negative value (0,-100) nothing happen, window won't move to where it's supposed to.

this far i was using something like this ->
This works
Code:
Parent.Leftpanel.Location=150,100
OnPress=PanBig
This don't
Code:
Parent.Leftpanel.Location=-150,-100
OnPress=PanBig
i also tried to "quote" each value, and to use (). Neither seem to work.

Any help is much appreciated, thank you !

Last edited by Sl4d3 : 06-12-2006 at 02:29 PM.
Reply With Quote
  #2  
Unread 06-12-2006, 03:02 PM
mother9987's Avatar
mother9987 mother9987 is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Everfrost
Posts: 204
Default

I know I've done it successfully.

Have you tried something like adding a value to the control called

DestPos with a value of -100,-150

And then making you control do a "Parent.MovePiece.Location=DestPos" or something like that? I know on the window I was moving to a negative location, I was reading it out of a table, so that might be how it worked.

Alternately, if you're trying to make the window disappear by moving off the screen, why not go way right and way down? "4096,4096" is my usual favorite.
__________________
'Tetht the printhiple, tetht the printhiple,' muttered Igor. 'Thorry, thur, but Igorth do not "tetht the printhiple". Thtrap it to the bench and put a good thick bolt of lightning through it, thatth our motto. Thatth how you tetht thomething.'
Reply With Quote
  #3  
Unread 06-12-2006, 03:52 PM
Sl4d3 Sl4d3 is offline
A Young Mystail Rat
 
Join Date: Feb 2006
Server: Antonia Bayle
Posts: 5
Default

Not i don't want it to disappear but to toogle between small and big mode.

Small = a bar at the top of the screen wich about 40pix height, and big = 150pix .

But trying what you told me solved my problem lol ! I miswrite the loc value.

I was writing location="xxxx","xxxx"
But i should have use location="xxx,xxx"

That's all +_+

Thank you now it works and looks so great =)
Reply With Quote
Reply



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 08:47 AM.


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