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

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Sep 14 00:32:05 CEST 2014


On Sat, 13 Sep 2014 20:50:26 +0200
Joost van der Sluis <joost at cnoc.nl> wrote:

> On 09/04/2014 11:42 PM, Martin Frb wrote:
> > Example in
> > procedure TDebugManager.ConnectMainBarEvents;
> 
> This was at least a little bit of use. Frustrating that disabling a 
> menu-item in the IDE takes more time than implementing the whole 
> pseudo-terminal feature.
> 
> It still does not work, though. TDebugManager.SetDebugger is useless 
> because it is only called when the debugger is started. So I had to set 
> it somewhere else.
> 
> The problem that I have now is that when I add the BaseDebugManager to 
> the implementation uses-section of the debugger unit, *all* ide-settings 
> are lost as soon as I open the options-screen. Seems like some magic is 
> happening here. Does anyone have a clue what?

I'm not sure, what you want to do.
What options are you working on?
What menu item do you want to enable/disable?

Mattias




More information about the Lazarus mailing list