Im now have a button to click, when click it should have some option or pull down choice where i can choose.....show me some way to do it.....
tks
Printable View
Im now have a button to click, when click it should have some option or pull down choice where i can choose.....show me some way to do it.....
tks
you can create a menu and then use MenuPopup to pop it up on click
i know...can use menu editor to create.......but after do it it place at above of our object window.....but i wan is place it in command button at anywhere inside the object window
:confused:
Kinda watch your spelling cause I'm trying to bare with you, but do you want a pop up menu to come from a command button?
yaya, u r rite.....sorry if i have spelling mistake ya....
:wave:
can anybody help me??
thanx....
To get a menu to popup at the command button click and at the
left bottom corner of the command button...
VB Code:
Option Explicit Private Sub Command1_Click() PopupMenu mnuEdit, , Command1.Left, Command1.Top + Command1.Height End Sub
Just don't forget to add those menu Items first (mnuEdit or whatever) and have at least one sub menu or you will receive an error.
Example:
Edit (mnuEdit)
......Quit (mnuQuit)
...and set their Visible Property to false (untick the box).Quote:
Originally posted by eric016
i know...can use menu editor to create.......but after do it it place at above of our object window.....but i wan is place it in command button at anywhere inside the object window
:confused:
Phreak