TadxCommandBarControl or DefaultInterface

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

TadxCommandBarControl or DefaultInterface
 
Guest


Guest


Hi ADX Team,

I need to change some properties of my command bar control at run-time.

Should I do it via the DefaultInterface property or
via the properties of TadxCommandBarControl?

For example, I need to disable a button:

var
MeButton: TadxCommandBarButton;

MeButton.DefaultInterface.Enabled := False;

or

MeButton.Enabled := False;
Posted 19 May, 2004 12:25:17 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
You can use both methods you described. Usually we suggest the second, i.e. MeButton.Enabled := False.

Sincerely,
ADX Support Team
Posted 20 May, 2004 05:32:33 Top