Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Pages: 1 2 
Send Topic Print
Mapping pop-up windows (Read 626 times)
Reply #15 - Feb 1st, 2006 at 4:59am

H   Offline
Colonel
2003: the year NH couldn't
save face...
NH, USA

Gender: male
Posts: 6837
*****
 
Quote:
I'm still wondering whether what you're trying to do is necessary.
Only for the fact that he wants the window selectable rather than permanently displayed; he should also be able to reposition it on the screen with his mouse.
 
IP Logged
 
Reply #16 - Feb 12th, 2006 at 6:35pm

dsdawson   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 26
*****
 
Quote:
size x,y and postion x,y.  Now, those figures are always whole numbers like 1-999 for instance.  Now, when youy look at the size and postion co-ordinates of a pop-up window, they ARE different.  How?  They are in a decimal notation. IE:
window_size= 0.xxx, 0.xxx
window_pos= 0.xxx, 0,xxx 


These fractional values are relative to the main panel window.  For instance:
window_size= 0.25, 0.30
window_pos= 0.4, 0,45
With these values, your popup window will be 25% of the width and 30% of the height of the screen.
It will be positioned at  point (measured at its upper left corner) 40% of the way across the screen (from left) and 45% of the way down the screen.

Doug
 
IP Logged
 
Pages: 1 2 
Send Topic Print