This sample tutorial will demonstrate to you on how to create a Menu Bar in Vb6 and also
creating a Sub Menu on a Menu Bar:
Tip: On creating a Menu and Sub Menu, the most used transaction menu module must be
so we can do this like shown on the image below:
1.) You can simply click the menu editor icon on your tool bar of your VB6.
2.) at the Caption you can type your Menu name, at the
3.) Name, type your desired name for your menu,this is represent as Object Name of
your Menu.
4.) the click OK.
then after clicking
the Ok button, this
will be the Output.
at this part i will show to you on how to Create the Menu's Sub Menu's
1.) just click next for you to the cursor move downward.
2.) then just repeat the number 2 and 3 process in the creating Menus at the image
above.
4.) to make it the Sub Menus of a File that i created,just click Left Arrow, and it will
show the dotted before the New,
5.) if you want to Create for short-cut just select at the short-cut combo box, and
select your desired combination.
then the output is
look like this
this is the sample and basic code,
Hope you Like it ^_^
Happy Coding ^_^
The Hardest Thing to Do is to Do Noting ^_^
creating a Sub Menu on a Menu Bar:
Tip: On creating a Menu and Sub Menu, the most used transaction menu module must be
at the first line on a Menu and Sub Menu's
so we can do this like shown on the image below:
1.) You can simply click the menu editor icon on your tool bar of your VB6.
2.) at the Caption you can type your Menu name, at the
3.) Name, type your desired name for your menu,this is represent as Object Name of
your Menu.
4.) the click OK.
then after clicking
the Ok button, this
will be the Output.
at this part i will show to you on how to Create the Menu's Sub Menu's
1.) just click next for you to the cursor move downward.
2.) then just repeat the number 2 and 3 process in the creating Menus at the image
above.
4.) to make it the Sub Menus of a File that i created,just click Left Arrow, and it will
show the dotted before the New,
5.) if you want to Create for short-cut just select at the short-cut combo box, and
select your desired combination.
then the output is
look like this
this is the sample and basic code,
Private Sub N_W_Click()
MsgBox "Your code goes here"
End Sub
MsgBox "Your code goes here"
End Sub
Hope you Like it ^_^
Happy Coding ^_^
The Hardest Thing to Do is to Do Noting ^_^
Tags:
Menus,
Visual Basic 6.0
Leave a comment