msoControlSplitButtonPopup

Add-in Express™ Support Service
That's what is more important than anything else

msoControlSplitButtonPopup
can u add a msoControlSplitButtonPopup to a toolbar 
Donald Pope




Posts: 11
Joined: 2006-01-26
cbc_Post = cb_dmcrm.Controls.Add(Type:=MsoControlType.msoControlSplitButtonPopup)

can you add msoControlSplitButtonPopup to a toolbar with your add-in Express .net??

Thanks

Donald
Posted 26 Jan, 2006 11:39:56 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Donald.

No. ADX doesn't support this control type.
Posted 26 Jan, 2006 11:53:07 Top
Donald Pope




Posts: 11
Joined: 2006-01-26
do you know how to get VB.net to support it??
Posted 26 Jan, 2006 11:55:27 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Donald, you can't add this control to a command bar at all. Most likely you will get an exception. You can only add a built-in SplitButtonPopup control. It can be done manually or via Add-in Express as well (use the ADXCommandBarControl component with suitable Id).
By the way, I found the following info in the Office Help:
The type of control to be added to the specified command bar. Can be one of the following MsoControlType constants: msoControlButton, msoControlEdit, msoControlDropdown, msoControlComboBox, or msoControlPopup


Posted 26 Jan, 2006 12:08:44 Top
Donald Pope




Posts: 11
Joined: 2006-01-26
Thanks for you info Sergey.

If I was to add it with the Add-in Express as an ADXCommandBarControl where could I get a list of all the suitable ID from and which one would I need to use for the SplitButtonPopup control.

Thanks.

Donald
Posted 27 Jan, 2006 06:26:18 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Donald.

You can use our Built-In Scanner to get all IDs of the Office controls.
http://www.add-in-express.com/files/BuiltInControlsScanner.exe
The scanner displays command bars and controls in the form of tree.
Choose the control that you need and use its ID in the Id property of the ADXCommandBarControl component.
Posted 27 Jan, 2006 08:06:26 Top
Donald Pope




Posts: 11
Joined: 2006-01-26
Thanks for you info Sergey and the apps I got to have a play around with the ID to see if I can get it working. But your apps look to be a great help.

I was just wondering what Control you use to do the displaying of the command bars and controls in the form?

Donald
Posted 01 Feb, 2006 08:59:01 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Donald.

The Built-In Scanner application is written in Delphi 7.
I used the third party control that inherits the TreeView component.
Posted 01 Feb, 2006 10:48:13 Top
Donald Pope




Posts: 11
Joined: 2006-01-26
Sergey,

what is the name of there Control and if you can tell me what site you get it from please?

Donald
Posted 01 Feb, 2006 11:02:33 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Posted 01 Feb, 2006 11:22:16 Top