Jan 16th, 2004, 10:51 AM
#1
Thread Starter
Frenzied Member
checked state on menuItems [RESOLVED]
I need to have my submenu stay open like it is when the user checks or unchecks a submenu item. Right now, when they do click to toggle the checked state, it simply closes all of the menus. How can I code it to stay open?
Last edited by Andy; Feb 11th, 2004 at 09:47 PM .
Jan 16th, 2004, 12:37 PM
#2
Sleep mode
Try this after the code that handles unchecking menuitem .
Jan 16th, 2004, 12:40 PM
#3
Sleep mode
Caution :
Save your work and then try that work in case something bad happen (I had my system halted but in different scenario)
Jan 16th, 2004, 12:49 PM
#4
Thread Starter
Frenzied Member
nope. that didn't work. I will keep looking into the sendkeys function though thanks!
Jan 16th, 2004, 12:59 PM
#5
Sleep mode
I just tried this and it works . I added Enter key value (~) .
Jan 16th, 2004, 01:23 PM
#6
Thread Starter
Frenzied Member
i took a screen shot of the error I get. Please take a look....
Attached Images
Jan 16th, 2004, 01:26 PM
#7
Sleep mode
Hell , what is that !! . Where did you use that code ?
Jan 16th, 2004, 01:31 PM
#8
Thread Starter
Frenzied Member
LOL. i put that in the click even of my menu item.
now, I don't have any shortcuts or hotkeys pointing to this menu item. Is that a problem? Is there another way besides sendkeys?
Jan 16th, 2004, 01:37 PM
#9
Sleep mode
Originally posted by thephantom
LOL. i put that in the click even of my menu item.
Just to double check .
now, I don't have any shortcuts or hotkeys pointing to this menu item. Is that a problem?
Why not ?
Is there another way besides sendkeys?
I can't think of any other solutions . This works good , at least to me.
Jan 16th, 2004, 02:13 PM
#10
Thread Starter
Frenzied Member
alrighty then. I will assign hotkeys to it and see what happens.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width