Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting a check mark on the left of an menu selection?
Message
 
To
15/12/1997 15:10:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00066028
Message ID:
00066041
Views:
31
>I would like to put a check mark on the left of a menu
>selection off the main menu in my program.
>I would like to do this when that menu selection has
>focus. If the menu option is checked, I want to do something.
>any ideas?

Check the help file for SET MARK OF...BAR. When the user clicks the menu item, issue the command to do whatever you're trying to accomplish. I'd use a global system variable and in the code check it's value. The code to do this might look something like:

gOwhatever.IsMarked = NOT gOwhatever.IsMarked.
IF gOwhatever.IsMarked
* Do what's necessary for .T.
ELSE
* Do what's necessary for .F.
ENDIF

hth,

George
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform