|
-
Mar 16th, 2002, 06:47 PM
#1
Thread Starter
Addicted Member
Using Checks in Menus(Resolved)
I've looked in the msdn's For an answer for this but It does'nt seem to work.......
This is from the msdn
Private Sub MyMenuItem_Click ()
' Turn check mark on menu item on and off.
MyMenuItem.Checked = Not MyMenuItem.Checked
End Sub
It gives an error "Method or data member not found".
With the word Checked being highlighted..
Anyone with so insight that could send me off in the right direction?
Last edited by PJMAXX; Mar 17th, 2002 at 01:04 AM.
My software never has bugs. It just develops random features.

-
Mar 16th, 2002, 06:51 PM
#2
-= B u g S l a y e r =-
What menu items have u created, and what does the code u use look like?
menu item = A
VB Code:
Private Sub A_Click()
A.Checked = Not A.Checked
End Sub
works just fine...
-
Mar 16th, 2002, 07:50 PM
#3
Thread Starter
Addicted Member
Yes It works ,,,I was trying to use it two levels deep...
But I guess it only works one level ....Is there a way to get it two
or more levels deep?
Like
{File } 'level1
{mode} 'Level2
1 'Level3 "I want to use checks in this level"
2
3
I love when I can answer my own Question....
Name(Index # here).Checked = Not Name(Index #).Checked
That was What I was after.......
I just had to get the old brain blood flowing...lol
Last edited by PJMAXX; Mar 16th, 2002 at 11:17 PM.
My software never has bugs. It just develops random features.

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
|