I want to know if a label is in the menu or not before adding it. I was expecting
[$menu index $label] to return a negative value if not. But to my surprise, it errs.
Then I had a hard time to figure out a way, much longer than a minute!
Is there a built-in way of getting the number of the...
Also noted that if the page has been raised, then it cannot be configured to be disabled or normal, even if I called redraw. My workaround is not to raise the page at the creation time, but until after the page is configured to the wanted state (in my case, from disabled to normal), then redraw...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.