Mattias Gaertner wrote 15 lines
On Thu, 26 Jun 2003 16:35:09 +0200
"Micha Nelissen" wrote:
> Hi,
>
> Based on the assumption that the owner of a menuitem is a form, I
> recommend the following patch. It now checks whether there is a valid
> pointer and this is of type tcustomform, which is what DrawMenuBar
> expects.
>
> If Michael thinks it's OK, please commit.
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.
Regards,
Micha.