Page 1 of 1

Customise selfpopup menu items(CADViewX)

Posted: 19 Jul 2006, 06:05
by xerp
Hi, I'm new here.

I'm using CADViewX in Delphi7, my first question is -
how to customise the selfPopuPMenu items in CADViewX so as to hide some menu items?

THank you in advance.

Love all, trust a few, do wrong to none.

Posted: 19 Jul 2006, 12:31
by Igor Tobolov
Use the following properties to set visibility of menu items and toolbar's buttons.

Code: Select all

[VB sintax] Property VisibleAction(Index As TxToolButton) As Boolean
CADViewX1.VisibleAction(tbOpen) = False

[Delphi sintax] property VisibleAction[Index: TxToolButton]: WordBool;
FCADViewX.VisibleAction[tbOpen] := False;

Posted: 19 Jul 2006, 12:54
by xerp
Thank you very much.

Love all, trust a few, do wrong to none.