`
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.
Printed October 24, 2026, 2:47 pm This article has been viewed/printed 36230 times. |