Lantica Software LLC.
Learn more about Sesame Database Manager
Nevertheless, I had to say that working with many products (both PC and handheld), I have never encountered a better software developer and, maybe even more importantly, a more responsive one. I may not yet enjoy fully using the product, but I refer others to it often and as frequently to your website as an example of how a product should be released and supported. You have, quite simply, the very best site I've seen. Clean, informative, easy to navigate, with so many of the missing elements with other products. Just finding which version is current and searching for answers here is a dream compared to trying to search a Yahoo forum or get an answer from tech support. Getting help, detailed, polite answers, quick responses, and actually being able to contact the developers themselves is unbelievable.
John E. Fisher
Member - Business Information and Technology Solutions, L.L.C. (BITS)
 

Getting started with Sesame? Click here!
 
Home
Order Sesame
Products
Support
Contact Us
Company
Downloads
Q&A™
 
 
Email Address


Note: Your email address will be used only to notify you of updates and events related to Lantica and Sesame. Your address will not be sold or used for any other purpose.


Sesame Database Manager is compatible with Symantec Q&A. Q & A users will find that Sesame uses many of the same keystrokes, the same search syntax, and almost the same programming syntax as used in a Q&A database. Sesame can also translate Q&A databases. Find out more.


Inside Sesame - The Monthly Newsletter for Sesame Database Manager
Read a FREE issue!

 

Sesame Library | Sesame OneSheet - @SelectTreeItem on a Command Button

@SelectTreeItem on a Command Button

Sometimes, you want to place a button on your Form that performs one of the commands available on the Sesame command menu tree, such as switching to the Application Menu tab. To run code when a command button is clicked, place your code in the On Element Entry event of the command button.

1. Open your Form in Designer.

2. Place a command button on your Form.

3. Open the Programming Editor by selecting Program Layout from the Commands Control Panel. Select your Command Button from the Element dropdown. Select On Element Entry from the Event dropdown.

4. Type the program in the Program Editor window.

var vRet as Int

If(@Mode() = 0)
{
	vRet = @SelectTreeItem("Add Data Menu!Application Menu")
}
Else If(@Mode() = 1)
{
	vRet = @SelectTreeItem("Search Update Menu!Application Menu")
}

5. Test your program by selecting Test Program from the Test menu. Fix any syntax errors that are reported.

6. When you are finished, select Close Program Editor from the File menu. Your programming changes will be saved when you save your Form.

Don't forget to save and reconcile your changes!

 

More Information:
Using the Program Editor
Programming Guide - Page 15 - 24

@SelectTreeItem()
Programming Guide - Page 160 - 161

  Learn more about Sesame Database Manager
Thanks for showing me how to program this. WOW it works Need I say more. Another happy camper.
  James Juarez
-