On Oct 31, 2005, at 5:51 PM, Keith DeLong wrote:
How do I clear the checkmark on a menu in a bevelbutton?
When I first select a BevelButton menu, .MenuValue = 0 and yet no
checkmark
is displayed in the menu for item 0.
Subsequent selections of the menu always put a checkmark next to the
last
selected menuitem which appears to be .MenuValue
However, though I can change the selection by changing .MenuValue, I
cannot
seem to get a menu without any checkmark at all.
Shouldn't -1 be the opening .MenuValue with no selection and -1 return
it to
no selection?
Thanks for any assistance you can offer,
Keith DeLong
Weird but using Francois suggestion and setting menuvalue to -1 seems
to do it if you put that in the mousedown
Try this in a pushbutton's mousedown
me.deleteAllRows
me.MenuValue = -1
me.AddRow "1"
me.AddRow "2"
me.AddRow "3"
me.AddRow "4"
me.AddRow "5"
and this in it's action
me.caption = me.list(me.menuvalue)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|