|
-
Apr 16th, 2001, 06:19 AM
#1
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
-
Apr 16th, 2001, 06:27 AM
#2
Create a menu. And you can use the PopupMenu statement to bring up the menu.
-
Apr 16th, 2001, 06:30 AM
#3
ummm
what Menu
how to create the menu?
in 'Insert Menu Buttons'?
-
Apr 16th, 2001, 06:34 AM
#4
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:
So if your menu was named MyMenu, than you'd call it like this:
-
Apr 16th, 2001, 06:43 AM
#5
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.
-
Apr 16th, 2001, 06:52 AM
#6
http://www.vbaccelerator.com/codelib/comctl/retbar.htm
I think this is what you want..
a bit advanced API coding though..
-
Apr 16th, 2001, 06:55 AM
#7
omg dude, that's just what i need
tnx
-
Apr 16th, 2001, 06:59 AM
#8

http://www.vbaccelerator.com/overcomc.htm
this is the main page.. got lot of other toolbar stuff that
might interest you...
-
Apr 16th, 2001, 07:00 AM
#9
Guess I was a bit off Stiletto .
Hope to see you in Subspace anyways .
-
Apr 16th, 2001, 07:11 AM
#10
Subspace?
-
Apr 16th, 2001, 07:44 AM
#11
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
-
Apr 16th, 2001, 07:59 AM
#12
-
Apr 16th, 2001, 08:32 AM
#13
Member
first get the toolbar control ....press f1 ...u will get the corresponding help!
easy
-
Apr 16th, 2001, 08:36 AM
#14
well.. i dont have the help files..
-
Apr 16th, 2001, 09:09 AM
#15
Member
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
-
Apr 16th, 2001, 09:48 AM
#16
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
-
Apr 16th, 2001, 10:00 AM
#17
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
-
Apr 16th, 2001, 02:43 PM
#18
Originally posted by anoop007
Subspace?
http://www.subspace.net
Very addicting game!
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
|