Normal Topic Open or close the command Tree with a button (Read 3199 times)
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Open or close the command Tree with a button
Feb 23rd, 2004 at 2:36pm
Print Post Print Post  
// Opens or closes command Tree dependent on the state it is currently in.  Create a command button and //  add this code   to on element entry.

var state as Int 
   
state = @CloseCommandArea() // Returns the current Command Tree state
if state = 0 then
     CloseCommandArea(1)  // Closes the Command Tree
else
     CloseCommandArea(0)  // Opens the Command Tree
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged