[lazarus] Win32 menu does not work

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jun 24 11:34:29 EDT 2003


On Tue, 24 Jun 2003 17:40:07 +0200
"Micha Nelissen" <mdvpost at hotmail.com> wrote:

> Micha Nelissen wrote:
> > Mattias Gaertner wrote:
> >> On Tue, 24 Jun 2003 11:53:25 +0200
> >> "Micha Nelissen" <mdvpost at hotmail.com> wrote:
> >>
> >>>> TBits is implemented, so you can try it.
> >>
> >> Please do so.
> >>
> >
> > to see if the TBits are functioning well. We can also try checking
> > whether disabling/enabling checking/unchecking works as expected, ie.
> > not call the handler when disabled.
> 
> And another patch to fix the check/enable issue. Like the other patch:
> apply in lcl/interfaces/win32.

Applied.

I have added the public property Command: integer; to TMenuItem. The
FCommand ist set just like Delphi on creation and destruction.
I replaced the FCommand in the win32 intf by Command. Please check if this
is correct. (I have to find out, how this cross compiling works ...)


Mattias






More information about the Lazarus mailing list