Hi!
How to gray out menu options at the top of the ActiveX control? I read that visibleaction may do the job but I can't find the parameters description (values). Any idea someone?
TIA!
How to gray out menu options?
Moderators: SDS, support, admin
-
- Posts: 2
- Joined: 21 Jul 2016, 00:14
- Contact:
Re: How to gray out menu options?
Hello Jose,
Could you specify what CADViewX version (Lite or Pro) are you using?
Mikhail
Could you specify what CADViewX version (Lite or Pro) are you using?
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 2
- Joined: 21 Jul 2016, 00:14
- Contact:
Re: How to gray out menu options?
Hi! I got my answer from the e-Mail support. It is the "lite" version. My answer is that the "tbOpen" dialog icon has to be set to off (or "0") every time a new file is loaded. And it works.
Thank you!
Thank you!
Re: How to gray out menu options?
Hello Jose,
You should use a CADViewX.EnabledAction property to disable (gray out) the toolbar button. Below are the examples of usage of this property for disabling the Open button.
Delphi
C#
VB6
Mikhail
You should use a CADViewX.EnabledAction property to disable (gray out) the toolbar button. Below are the examples of usage of this property for disabling the Open button.
Delphi
Code: Select all
FCADViewX.EnabledAction[tbOpen] := False;
Code: Select all
axCADViewX1.set_EnabledAction(CADViewLib.TxToolButton.tbOpen, false);
Code: Select all
CADViewX1.EnabledAction(tbOpen) = False
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support