View Single Post
  #9  
Unread 04-07-2005, 02:53 AM
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
Proper quoting using your sample...

ToggleSizeButton.OnPress='parent.groupmember2.Onshow="groupmember2.OnShowH" Onpress=Press2'

Its a good idea to put returns between separate commands. If they're all on the same line they execute in right to left. Once you've got some text in a value field, double-clicking the property pops up a window that allows returns.

The base OnShow and On Hide should have values matching whtever the default switcher button does, so it does something the first time its pushed. If for instance the first press makes the window Vertical, dupe your OnShowV and OnHideV code.

No you don't need to state an object's name when manipulating its properties or a sub object. Say you're using a page's OnShow to resize the page and move its BackDrop. The OnShow value would look like this..

size='200,300'
BackDrop.location='2,2'

The page gets resized to 200 x 300
the BackDrop inside the page gets moved to 2,2

And no, I wouldn't use dummy pages for this. My Inventory window uses a dummy page to simulate shrinking down to the right, and to give users a way to quickly set it back to their favorite spot
Thanks a ton. I might be able to get it working now. HAHA.
I dont need your STINKIN HELP! MWAHAHAHAAH (jk)

D

Last edited by dc_roenfanz : 04-07-2005 at 04:03 AM.
Reply With Quote