` Printed Icetips Article

Icetips Article



Par2: Creating a menu seperator at runtime
1999-05-29 -- John Hickey
 
OK, here is what I do; use the code below where l:ID is the Equate ID of the menu item 
being created, and l:Menu is the equate of the Parent menu:

   Create(l:ID,CREATE:ITEM,l:Menu)
   l:ID{PROP:Separate}=TRUE

Usually after this, you would do l:ID{PROP:Hide=False.  Nope!  The trick here, is to NOT
unhide the separator control.  You need to unhide other controls, but not the separator 
control (for reasons unknown!).



Printed November 21, 2024, 11:59 am
This article has been viewed/printed 35226 times.