` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Adding popup menu items
1998-12-10 -- Shawn Mason
 
>>Hi, could you let me know how to add choices to the popup updates, I WILL VERY MUCH APPRECIATE IT !!!<< There are two similar methods that will do this. One is the popup.additem method the other is the popup.additemmimic method. They do the same thing in that they add an item to a popup. The difference comes in how they are implemented (for a complete description look in the manuals under the PopUp Class). You must add an event for the "additem" method. For the "additemmimic" simply add a button on the screen (you can even hide it) and reference its USE variable. This will make the popup choice do whatever the button does. I use the latter method for several reasons. 1) I find it easier to implement. 2) I hide the button and place in smack-dab on my listbox control. When I am looking at source I instantly know that there is a hidden popup for this listbox and I even know the name of it. The code is under the embed for the button. It makes coding easier and a little cleaner.


Today is May 6, 2024, 10:23 am
This article has been viewed 35118 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: