On Thu, 04 Sep 2014 22:39:04 +0200
Joost van der Sluis <[email protected]> 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?

Find the TIDEMenuItem and use item.Enabled:=true/false.

Mattias

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

Reply via email to