[Lazarus] New menu designer
Howard Page-Clark
hdpc at talktalk.net
Mon Jan 4 17:20:45 CET 2016
On 04/01/2016 14:24, Bart wrote:
> On 12/22/15, Juha Manninen <juha.manninen62 at gmail.com> wrote:
>> Hello
>>
>> I committed a new Menu Designer by Howard Page-Clark in r50992.
>> See:
>> http://bugs.freepascal.org/view.php?id=29205
>
> Can we implement it so that adding a sumnenu to a Separator (a
> menuItem with '-' as caption) will either be disallowed, or a warning
> will be shown because several widgetsets crash on that.
> (Same for setting Caption to '-' of an existing item with a submenu.)
In the new menu editor adding a submenu to a separator is already
disallowed (popup menu option/toolbutton is disabled if a separator is
highlighted). Do you not find this?
However, the rename Caption function presently ignores this loophole.
I will close this loophole in the patch I am working on (and hope to
submit later this week).
Howard
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the Lazarus
mailing list