Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. xhuangtx

    How to check if a label is in menu or not?

    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...
  2. xhuangtx

    How to disable/enable a notebook page?

    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...
  3. xhuangtx

    How to disable/enable a notebook page?

    Got it with:) Widget::configure $path.f$page {-state disabled} or Widget::configure $path.f$page {-state normal}
  4. xhuangtx

    How to disable/enable a notebook page?

    Say, I create a page set notebook [NoteBook $frame] set pageframe [$notebook insert end page1 -text "Apple"] How can I disable it? Thanks.

Part and Inventory Search

Back
Top