connecting users of the CorelDRAW family of products

How to enable/disable one menu item?

rated by 0 users
This post has 1 Reply | 0 Followers

Share  
Page 1 of 1 (2 items) | RSS

devilboy_qiu Posted: Mon, Jun 29 2009 5:14

I write some macros via VBA, now I drag and drop the macro as a menu item add to the File menu, the problem is how to disable or enable that according to some condition, for example, when a document is open or new created, the menu item should be enable, when no document is opened, it will be disabled.

How to control that through VBA or other method, both are ok.

Top 50 Contributor
Puerto Rico
Male

You should activate your macro coding in the after open command.

Regards

Michael Cervantes
MC Design Studio

Page 1 of 1 (2 items) | RSS
© Corel Corporation. The content herein is in the form of a personal web log ("Blog") or forum posting. As such, the views expressed in this site are those of the participants and do not necessarily reflect the views of Corel Corporation, or its affiliates and their respective officers, directors, employees and agents. Terms and Conditions / User Guidelines.