Normal Topic CloseCommandArea function misbehaving (Read 1101 times)
Don Newlin
Member
*
Offline


No personal text

Posts: 12
Location: Lloydminster, Ab, CA
Joined: Mar 3rd, 2003
CloseCommandArea function misbehaving
Nov 1st, 2004 at 10:39pm
Print Post Print Post  
I did a straight cut and paste of the sample code for opening and closing the command area from

http://www.lantica.com/Forum2/cgi-bin/yabb/YaBB.pl?board=program;action=display;...

When I execute the code it works ok for opening and closing the command area, but if you forget to open the menu before exiting the form, the option to open the comand area from the View!OpenCommandArea pulldown menu is greyed out and you are stuck with no way to do anything except exit Sesame and reload it.  Is this normal?    I am running a 1.04 windows client against a linux server
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: CloseCommandArea function misbehaving
Reply #1 - Nov 1st, 2004 at 10:46pm
Print Post Print Post  
Yes, this is normal. You told Sesame to close the command tree. When the programmer tells Sesame to close the tree, only the programmer can reopen it. The menu choice becomes disabled so that the user cannot override the instructions from the programmer.

If you use 1.1 (previously called 1.0.5), you can use SetDefaultTab to ensure that the user always returns to a Form that allows them to reopen the command tree, if necessary.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged