[lazarus] Patch: Menuitem.Owner = nil -> invalid type cast (win32)

Micha Nelissen mdvpost at hotmail.com
Fri Jun 27 02:19:05 EDT 2003


Mattias Gaertner wrote:
> On Thu, 26 Jun 2003 17:55:27 +0200
> "Micha Nelissen" <mdvpost at hotmail.com> wrote:
> 
>> The parent of a tmenuitem is another tmenuitem. In delphi, a TMenu
>> does not have a Parent. In the lcl it does, but I don't know what it
>> represents. When is it set?
> 
> lcl/include/customform.inc  TCustomForm.SetMenu

Ah ok, good thinking. It works correctly.

Regards,

Micha.






More information about the Lazarus mailing list