` Conditionally hiding a menu item - c5 (Jim Kane ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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

Par2: Conditionally hiding a menu item - c5
1999-03-26 -- Jim Kane
 
> I need to know how to hide a menu item based on a variable. What code > would be used, what embed would i use. I am using c5 clarion templates. > If yourvariable then ?menuitem{prop:hide}='1' Else ?MenuItem{prop:hide}='' end Can be put anywhere after the window is open in ThisWindow.init in the frame procedure.


Today is April 25, 2024, 6:31 pm
This article has been viewed 35106 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: