Tom Aby
Posts: 35
Joined: 2006-11-25
|
Hi,
I am using Add-in Express 2007 for .Net in VS2005.
I have one ADXOLExplorerCommandBar cbar in the Add-in module which has 5 ADXCommandBarPopup items in its control collection and for each control i am having sub control for some of the CommandbarPopus.
I want to make the commandbar items enabel and disable for the ADXOlForm.
I am using this code to get the current loaded addin module
TT.AddinModule loadedModule = TT.AddinModule.CurrentInstance as TT.AddinModule;
and i am able to access the first hierarchy of control using
loadedModule.CommandBars(0).Controls[0]
I want to know how to access each items in the command bar with the hierarchy levels i want.
Or is thr any best methods which i am not getting ....
Regards
Tom
|
|
Tom Aby
Posts: 35
Joined: 2006-11-25
|
SORRY POSTED IN WRONG FORUM :( |
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
Nevertheless, Tom, you can change the access modifier of the command bar and controls from 'private' to 'public' and access the controls directly via the addinmodule.
P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found. |
|