Results 1 to 6 of 6

Thread: Grouping menu item

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2001
    Location
    Vietnam
    Posts
    613

    Grouping menu item

    How can I group menu item into a group so that only one can be selected at a time? (like the radio button)

    Thanks.

  2. #2
    Hyperactive Member FUBAR's Avatar
    Join Date
    Jan 2000
    Posts
    307
    Easy,
    just make a frame, you can make it have a boarder or not doesnt matter, then u have to draw controls into frame.

  3. #3
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    Hi
    Is easy to do just in code. Each time a menu item is clicked u set the .Checked property and uncheck the other menu items in the designated 'grouping'.
    Regards
    Stuart
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  4. #4
    Hyperactive Member FUBAR's Avatar
    Join Date
    Jan 2000
    Posts
    307
    well for radio buttons, if you put them in the frame it automaticly groups them, but if you want to do it with checkboxes, then u would have to set the other checkboxes "checked" property to false or 0

  5. #5
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    Hi
    Maybe i am mistaken but isnt he referring to menu items?? ie having one item checked and unchecking others?
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  6. #6
    Hyperactive Member FUBAR's Avatar
    Join Date
    Jan 2000
    Posts
    307
    err read it wrong, yea, do like he said

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width