This creates the menu and associates the procedure with the OnClick events for the created menu items. I try to call this with something like:
(MyMenu is an instance of TMyMenu, and object I created with various stuff needed for the menu to work.) When I compile, I get "Incompatible types: 'regular procedure and method pointer'". Need guidance on passing the procedure. Need guidance on how to correctly pass the procedure. Thanks.
From novice to tech pro — start learning today.