would be great if navigation bars sent MouseUp messages
Moderator: Klaus
would be great if navigation bars sent MouseUp messages
I realize I can use "HiliteChanged" to monitor nav bar clciks/changes, but I have a case where I wish to use similar but not identical nav bars on different cards and so do not wish to set the property of the bars acting like a background. So when I return to other cards, the hilitedItem of that nav menu is not right (it is the last clicked icon from the menu before leaving the card rather than the icon for the card I now returned to). I cannot change the hiliteditem without sending a "hiliteChanged" message which then complicates the navBar hiliteChanged handler code. If the bar generated a mouseUp message, the problem would be solved, and it seems to me like a simple enough addition.
Re: would be great if navigation bars sent MouseUp messages
Hi Fun days,
you can prevent this unwanted behavior by:
Et voila!
Best
Klaus
you can prevent this unwanted behavior by:
Code: Select all
...
lock messages
set the hiliteditem of widget "your navbar here..." to "I'm a lumberjack..."
unlock messages
...

Best
Klaus