menubar

msymeou
12-09-2005, 03:43 PM
ok here we go. i created some arrays on the menubar and i want when i click on one of them to show it's caption.how can i do that?

00100b
12-09-2005, 03:47 PM
If I'm understanding your question...

In the Click event of the Menu item, display the .Caption property based on the selected Index.

Private Sub mnuFoo_Click(Index As Integer)

MsgBox mnuFoo(Index).Caption

End Sub

msymeou
12-09-2005, 03:54 PM
thanks.
so simple

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum