p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   VB How-To (http://p2p.wrox.com/forumdisplay.php?f=78)
-   -   Changing Menu made with VB 4 Menu Editor (http://p2p.wrox.com/showthread.php?t=1857)

Zooker July 19th, 2003 10:31 PM

Changing Menu made with VB 4 Menu Editor
The Menu has been made in Visual Basic Four. I can't afford VB6.
I used the Menu Editor in VB4 to make the menu. This is a check Register program I am trying to re-write as a windows program. I originally wrote it in DOS. THe 1st menu on the menu Bar says Select Register. The program is capable of having six individual check registers for six different people. After you select a register in the first menu, I need to have the drop down sub menu put your name in place of the slot number 1 thru 6.
____________________Menu Bar Below _______________
Select Register Set-Up Catagory Codes
 Slot No. 1
 Slot No. 2
 Slot No. 3 < Ifyou select this slot, I want your name to show
 Slot No. 4 Instead of Slot No.3 next time you come back to
 Slot No. 5 This Menu!
 Slot No. 6
 Exit Program

How can I do that?

It took me 74 years to get this stupid!

GPerk July 26th, 2003 11:44 PM

You can change it with, for example:
Private Sub mnuSel3_Click()
  mnuSel3.Caption="User Name"
End Sub
But that brings us some questions:
How do you know who a user is when he clicks on Sel3?
Does he have to enter a UserName and Password first?
If so, why do you need the menu selection?

All times are GMT -4. The time now is 03:13 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.