Page Index Toggle Pages: 1 [2]  Send Topic Send Topic Print Print
Hot Topic (More than 10 Replies) Save and Close Record (Read 2365 times)
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Save and Close Record
Reply #15 - Jul 7th, 2004 at 4:53pm
Print Post Print Post  
I have not tried this but if you put CloseCommanArea( ) code on Form Entry and On Form Exit Events of various forms, it might work to close the command tree.

var vState as Int

vState = @CloseCommandArea ( )
If vState = 0
    {
           CloseCommandArea (1)
    }

======

In order for SelectCommandTreeItem ( ) commands to work, command tree need not be open or visible. Please let us know if this or any modification of this works for you.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send Topic Send Topic Print Print