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

Micha Nelissen mdvpost at hotmail.com
Thu Jun 26 11:29:21 EDT 2003


Micha Nelissen wrote:
> Mattias Gaertner wrote:
>>
>> I have changed it to use teh Menu.Parent. Please test if it works. My
>> cross compilation is not yet working. Lack of time. But I made some
>> progress.
>
> IIRC, the Parent of a menu is another TMenuItem....This won't get us
> very far.

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?

Regards,

Micha.






More information about the Lazarus mailing list