sups
I would like to know how to make a drop down menu, like the one in the Back button in IE.
can some1 plz show me what i need to do in the toolbar or something, and what codes to put after the menu is open..
tnx
Printable View
sups
I would like to know how to make a drop down menu, like the one in the Back button in IE.
can some1 plz show me what i need to do in the toolbar or something, and what codes to put after the menu is open..
tnx
Create a menu. And you can use the PopupMenu statement to bring up the menu.
what Menu
how to create the menu?
in 'Insert Menu Buttons'?
Go to Tools > Menu Editor (or right click the Form). Then create your menu from there.
Set the Caption.
Set the Name.
And for the PopupMenu statement, it uses the name to identify the menu and is used like:
Code:PopupMenu mnu
So if your menu was named MyMenu, than you'd call it like this:
Code:PopupMenu MyMenu
oh, but i ment in a toolbar... how to create a drop down menu in a toolbar menu, just like in the Back button and Forward button in IE.
http://www.vbaccelerator.com/codelib/comctl/retbar.htm
I think this is what you want..
a bit advanced API coding though..
omg dude, that's just what i need
tnx
:)
http://www.vbaccelerator.com/overcomc.htm
this is the main page.. got lot of other toolbar stuff that
might interest you...
Guess I was a bit off Stiletto :rolleyes:.
Hope to see you in Subspace anyways :).
Subspace? :confused:
yea Subspace, (SS) its an internet game
yo man, my prob now is how to write the codes in the drop down menu
in the toolbar, i made a button to be DropDown, and set the buttons menus.
Now, the index of the 1st button is 1 and his key is ddMnuOK
How can i put codes in the menu when its clicked (after dropin down)?
plz help
tnx
ne1?
first get the toolbar control ....press f1 ...u will get the corresponding help!
easy :D
well.. i dont have the help files.. :(
toolbar is only used so that the very important facilities may be easily located by the user and is usually accompanied by animage to help him.....for general drop down list u must not use toolbar (and i think it cannot be used!) ...rather do it using menu editor
you have to figure that out.. i played
with that control for ages and yet
haven't done the dropdowns!!
try www.vbaccelerator.com .. it shud have some help
Hmmm......
Since VB6 arrive on the scene you have been able to create dropdown menus with the standard Toolbar control.
Simply right click on the toolbar and choose Properties and on the Buttons tab set the Style property of the Button to "5 - tbrDropDown".
Now simply click on the "Insert ButtonMenu" button and set the Text and Key properties.
Do it again for the next menu item and so on.
Now write code for the menu in the ButtonMenuClick event.
It's as simple as that....
Best regards
Quote:
Originally posted by anoop007
Subspace? :confused:
http://www.subspace.net
Very addicting game! :D