Trigger a Menu dropdown ... |
Post Reply |
Author | |
smboats
Newbie Joined: 06 April 2008 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 19 May 2008 at 12:33am |
Is there a simple way to trigger (from within code) a main menu topic list to drop down (for examples the Files menu/popup)?
Thanks, -Ted
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
yes. you need Control.Execute method for Popup Control.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
smboats
Newbie Joined: 06 April 2008 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Thanks, Oleg. I thought that might be it, but I seem to have a terrible time getting the syntax right. Could you give me an example of how it would look inside a procedure for the form ... assuming I just want to drop down the a standard "File" set of items (let's say I just have a button on the MDI sample and clicking it should drop down the menu).
Many thanks.
In general, as a newbie, I don't have any problem setting up the Command Bar stuff, but I do have a lot of difficulty modifying it, getting it to respond, or polling it's properties from other procedures or modules. I am not getting the idea of the syntax right -- or I am not defining something correctly. I feel like I have gone through all the examples and they do a good job of showing how to get controls laid out and their appearance set. But they don't seem to have examples of using, modifying, checking, controls etc ... once you are out of the process of just "adding" them in. Can you point me to a good example of these kinds of things.
Thanks, -Ted
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
You want to dropdown a popupmenu item without having to click the menu item, correct ? I don't know your intention why you want to do that but try this:
CommandBars.FindControl(, ID_FILE).Execute
Where ID_FILE is the ID of the PopupMenuItem and will dropdown the menu item
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |