+ Reply to Thread
Results 1 to 8 of 8

Thread: check mark on menu items?

  1. #1
    Programming Professional gaylo565 is a jewel in the rough gaylo565 is a jewel in the rough gaylo565 is a jewel in the rough gaylo565's Avatar
    Join Date
    May 2007
    Location
    flagstaff, az
    Posts
    255

    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. #2
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    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

  3. #3
    Programming Professional gaylo565 is a jewel in the rough gaylo565 is a jewel in the rough gaylo565 is a jewel in the rough gaylo565's Avatar
    Join Date
    May 2007
    Location
    flagstaff, az
    Posts
    255

    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

  4. #4
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    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

  5. #5
    Programming Professional gaylo565 is a jewel in the rough gaylo565 is a jewel in the rough gaylo565 is a jewel in the rough gaylo565's Avatar
    Join Date
    May 2007
    Location
    flagstaff, az
    Posts
    255

    Re: check mark on menu items?

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

  6. #6
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    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

  7. #7
    Programming Professional gaylo565 is a jewel in the rough gaylo565 is a jewel in the rough gaylo565 is a jewel in the rough gaylo565's Avatar
    Join Date
    May 2007
    Location
    flagstaff, az
    Posts
    255

    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

  8. #8
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Using ODBC to determine column uniqueness & check constraints
    By Tronman in forum Database & Database Programming
    Replies: 1
    Last Post: 05-21-2008, 11:01 AM
  2. Windows Shortcut List - Saves Time
    By 2stamlers in forum The Lounge
    Replies: 6
    Last Post: 04-10-2008, 06:58 AM
  3. AJAX Drop down populating menu
    By SeR_Cyclops in forum MarketPlace
    Replies: 0
    Last Post: 01-08-2008, 09:26 PM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

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