QUESTION: How can I disable a Menu item, with out greying it out? ANSWER: There are times when you find that you want to disable an option while not greying it out completly. Drop a TMainMenu component on a Form and add atleast two menu items. Next drop a TButton on the Form and in the OnClick event, add the code show below. The code sample below demonstrates how to disable a Menu item without greying it out.
|
Last Modified: 05-MAR-02