Share Tips, Code Samples, etc. with the Visual Prolog community.
Steve Lympany
VIP Member
Posts: 56
Joined: 31 Mar 2001 23:01

Modify menu class

Unread post by Steve Lympany »

Hi,
Here is a project that uses a class for modifying menus. Essentially, you grab the current window menu, and then:

- add and remove top menu items
- add, remove and rename submenu items
- check/uncheck items
- enable/disable items.

and then you reassign the modified menu back to the window.

Steve
Attachments
dev_modify_menu.zip
VIP7.3 project with modify_menu class.
(28.2 KiB) Downloaded 1610 times
Post Reply