Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB 6.0 Project Menu Check Marks

Status
Not open for further replies.

marisam

Technical User
Mar 31, 2006
57
US
I need guidance with my VB script.

When the menu item called title is selected I want to display a check mark next to the menu option called title and if it’s unselected the check mark disappears and does not display the caption.

Private Sub mnutitle_Click()
If mnutitle.Checked = False Then

fraDatabase.Caption = ""
Else
mnutitle.Checked = True

fraDatabase.Caption = "Database by Marisa"
End If

Thanks

 
You may get better answers posting in the VB forum.

Gerry
 

If this is VBA in an Office program you should be able to set a FaceId - on a quick look I couldn't see the one Word uses but 1087 and 1907 are tick marks which might do you.

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

Professional Office Developers Association
 
I think "Private Sub mnutitle_Click()" may be a clue. This is a Click event for a menu item. I do not think there is no such beast in VBA.

Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top