[DUG] TActionMainMenuBar
Robert martin
rob at wildsoft.co.nz
Thu Apr 26 10:08:56 NZST 2007
Hi
I have found the problem. Apparently there is a bug (of many) in the
component that shipped with D7 that means the WindowMenu property
doesn't stream properly and therefore needs to be set a run time.
However a new feature introduced in BDS2006 (or earlier) is that setting
it at runtime only works if the design time property is set to something
meaningless (a non existent menu option). This bug is still very much
present in D2007.
This has caused me very much grief !
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Robert martin wrote:
> Hi
>
> I am trying to replace a TMainMenu with a TActionMainMenuBar (for a
> number of good reasons). However there are a couple of things I am
> having trouble with.
> The application is a MDI app and I cant get the WindowMenu to work.
> There is a WindowMenu option in the TActionMainMenuBar that takes a
> string which is supposed to be the caption of the menu to use.
> However no matter what I set it to I can't get it to do anything?
>
> Also our old menu used 'default' actions where if the heading was
> double clicked that item would automatically run. Is there a way of
> doing this in a TActionMainMenuBar?
>
>
More information about the Delphi
mailing list