[Lazarus] Enabling menu-options depending on a Lazarus-setting?

Joost van der Sluis joost at cnoc.nl
Thu Sep 4 22:39:04 CEST 2014


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.





More information about the Lazarus mailing list