Closed Thread
Results 1 to 8 of 8

Thread: check mark on menu items?

  1. #1
    gaylo565's Avatar
    gaylo565 is offline Programming Professional
    Join Date
    May 2007
    Location
    flagstaff, az
    Posts
    268
    Rep Power
    21

    check mark on menu items?

    I am making a game with the option to choose what level you start on and I wanted to use a menu item for each level selection to determine which level the user selected. I wanted to know if there was a way to display a check mark next to the selected item/level on the menu?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: check mark on menu items?

    What sort of menu is it? I mean, what control are you using? A ListBox, or what?

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  4. #3
    gaylo565's Avatar
    gaylo565 is offline Programming Professional
    Join Date
    May 2007
    Location
    flagstaff, az
    Posts
    268
    Rep Power
    21

    Re: check mark on menu items?

    I am using a simple menu strip for now. I will add a combo box if I can't figure it out on this

  5. #4
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: check mark on menu items?

    Yes, this is certainly possible! Just change each individual menu item's Checked property - it is a boolean. If you have a ListBox you can use the CheckedListBox instead.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  6. #5
    gaylo565's Avatar
    gaylo565 is offline Programming Professional
    Join Date
    May 2007
    Location
    flagstaff, az
    Posts
    268
    Rep Power
    21

    Re: check mark on menu items?

    good deal Never had to do this before but I like how it looks.

  7. #6
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: check mark on menu items?

    Glad I could help.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  8. #7
    gaylo565's Avatar
    gaylo565 is offline Programming Professional
    Join Date
    May 2007
    Location
    flagstaff, az
    Posts
    268
    Rep Power
    21

    Re: check mark on menu items?

    I guess that was one of those ones I should have googled but I was on my way to bed anyhow and thought I could just post and my answer would be there when I came back the next day

  9. #8
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: check mark on menu items?

    You can rely on me.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Handling Usercontrol with menu items in C#
    By Hammad Rasheed in forum C# Programming
    Replies: 1
    Last Post: 11-05-2011, 06:17 PM
  2. Replies: 0
    Last Post: 11-13-2010, 10:58 AM
  3. show menu items on vb.net application based on user rights
    By yonghan in forum Visual Basic Programming
    Replies: 7
    Last Post: 01-18-2010, 10:53 AM
  4. I am mark from la
    By markspenser in forum Introductions
    Replies: 6
    Last Post: 08-07-2009, 08:35 AM
  5. Vertical Orientation of Menu Items
    By 張善天 in forum C# Programming
    Replies: 1
    Last Post: 06-16-2009, 03:29 AM

Tags for this Thread

Bookmarks

Posting Permissions

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