|
-
Jan 15th, 2004, 10:05 AM
#1
Thread Starter
Addicted Member
Favorite Menu Problem
Ok ive coded an intire working editable favorite menu for my software now the problem im having is with the menu index im not quite sure how to get the menu index of which favorite was clicked on the menu.
Private Sub favlistmenu_Click(Index As Integer)
Dim thename As String
Dim thefav As String
thename = menu.favlistmenu(i).Caption
thefav = ReadInI(thename, "address", "C:\Program Files\newproduct\favorites.ini")
MsgBox thename
MsgBox thefav
End Sub
thats my code and the problem is no matter what it keeps making thename the first one on the menu list instead of the one that was clicked how do i fix this problem anyone please?
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
|