View Single Post
  #13  
Unread 04-17-2011, 08:47 PM
TalTal TalTal is offline
A Griffon
Featured
 
Join Date: Nov 2005
Server: Nagafen
Posts: 1,096
Default

Quote:
Originally Posted by Draven_Caine View Post
Greetings,
I am reviving this old thread because:
  1. Its my thread
  2. It is also the same issue, just a diffrent window.

I have the window that "You have gained a skill" window auto-aligned to my effects window (bottom, center).

Now the issue is my effects window has a frame on it, this alignment works until the frame is turned on, or vise-versa. How do I tell it if the frame is used use the effects top alignment + 100, if the frame isnt used, align to the effects window +50 for example?

Thanks,
Draven
Something like

COND = Window.Frame.Visible
TOPA = Window.Top + 100
TOPB = Window.Top + 50
NEWTOP = COND ? TOPA : TOPB

Windowb.Top = NEWTOP

and of course this would be in a button or directly in the onshow of windowb, so it would trigger onshow of windowb.

Silat

Last edited by TalTal : 04-17-2011 at 08:51 PM.
Reply With Quote