{{tag>category:"OpenInsight" author:"Rick Todd" author:"Barry Stevens" author:"[url=http://www.sprezzatura.com]The Sprezzatura Group[/url] " author:"Robert Lee"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== Checked Menu Items (OpenInsight) ====
=== At 15 OCT 2001 09:44:00PM Rick Todd wrote: ===
If you enable the checked style of a menu item, how can you programmicaly disable (remove) the checkmark. I know that it is possible. OI does it in the Form Designer when using the "View" on the menu for "Ribbon", "Tool Bar" and "Status bar". I want to be able to toggle menu settings, click once it is on, click again and it is off. Does anyone have any suggestions?
Thanks
Rick
----
=== At 16 OCT 2001 04:39AM Barry Stevens wrote: ===
Try the CHECK property
----
=== At 16 OCT 2001 09:59AM Rick Todd wrote: ===
In the Menu Builder I have a popup/Item Id "OPTIONS.PIXEL_TYPE.ANY". I have tried using the "Check" property like I would another property but it does not seem to work. So, what am I doing wrong?
X=SET_PROPERTY(@WINDOW:".OPTIONS.PIXEL_TYPE.ANY","CHECK","1")
Thanks
Rick
----
=== At 16 OCT 2001 10:37AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: ===
[notag]@Window : ".MENU.OPTIONS...
[The Sprezzatura Group]
[World Leaders in all things RevSoft]
[
]
[]
[] [/notag]
----
=== At 16 OCT 2001 12:45PM Rick Todd wrote: ===
It's the little things that make all the difference.
Thank you very much.
Rick
----
=== At 17 OCT 2001 04:14AM Barry Stevens wrote: ===
Thats where DEBUG comes in handy
----
=== At 17 OCT 2001 03:51PM Robert Lee wrote: ===
Rick
] If you enable the checked style of a menu item
As far as I know, when you check the Checked box in the menu builder, you are not enabling the checked style. You are doing the equivalent of set_property(.., 'CHECK', 1)
In other words, you don't have to bother checking it in the first place. Just do the set_property at a later time if you need that menu item checked.
Robert Lee
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=3032C33A2A189B5985256AE7000985D5|View this thread on the Works forum...]]