View Single Post
  #5  
Unread 04-05-2005, 05:31 PM
dc_roenfanz's Avatar
dc_roenfanz dc_roenfanz is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Unkown
Posts: 588
Default

Quote:
Originally Posted by Zonx
Yep. Might need some quotes in there, but that's the idea.

Add the following befor your OnPress=OnPress#

GroupMember#.Visible=! GroupMember#.Visible=!

Repeate it twice for each GroupMember

This flops the visibility of each group page twice. They'll end up with the same visability they started with, but what this does is trigger each page's OnShow and OnHide. Without this, your window wont get resized untill someone joins or leaves the group.
OK, Thanks a bunch.
*spends hours typing new code*

EDIT: For the actual window shift part, should I create like a dummy GroupMember page for the "true" pages to snap too? I think that would be easiest. Im gonna go study your inventory window. See if I can ge that to work.

EDIT2: LOL.... I created the dummy pages, THEN I found this wonderful nifty thing called "location". After looking at it some, I realized that the location of a window is dependant on its top left corner (unless you pack location to somewhere else???) Guess I answered my own question there.
Correct me if'n Im wrong though

EDIT3: Once I have every OnShowV (or H) value, do I need anything in the normal OnShow? or do I leave that blank?
D

Last edited by dc_roenfanz : 04-05-2005 at 05:55 PM.
Reply With Quote