Example in
procedure TDebugManager.ConnectMainBarEvents;

in ide/debugmanager

On 04/09/2014 21:39, Joost van der Sluis wrote:
On 09/02/2014 03:31 PM, Martin Frb wrote:
On 02/09/2014 12:11, Joost van der Sluis wrote:
Add a class[1] method to the debugger-class. return true/false,
depending on the availability of the feature.

The base class, would have the current ifdef. All other code depends on
the value of the method.


In ide/DebugManager the debugger class is selected and setup. That would
be the place to update the menu (maybe enable/disable instead of hiding).

How do I enable/disable a menu-item in the IDE?

Joost.


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to