Modify menu class

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

Modify menu class

Unread post by Steve Lympany » 30 Nov 2010 11:24

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.

VIP7.3 project with modify_menu class.
(28.2 KiB) Downloaded 827 times

Post Reply