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; |
|
Dmitry Kostochko
Add-in Express team
Posts: 2887
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 |
|