Re-re..-re hello Code DZ.
I think I get the trick to force font of all menu-popup to use the parent font
of the form.
1) Put a tpopupmenu1 on the form. Dont change anything on his parameter.
2) With Object inspector, on mainfo.popupmenu choose that tpopupmenu1.
3) Now the font of popup of each
Hello Code DZ.
And what about?:
> put a tpopupmenu1 on the form and assign in Object inspector for TEdit1:
> Tedit1.popupmenu := tpopupmenu1;
> And then set the font ot tpopupmenu1
Here it works ok see picture.
> about the rounded button yes it was me ;) ,
Ha ok, so you are the msegui guru
Hi Fred
seems there is no option to play with tedit auto popup menu font , i
think it is by design
just i thought i could change it , because visually it is inconsistent
with bigger font (big edit and small popup menu ) , anyway its ok ,
not big harm
about the rounded button yes it was me ;) ,
Re-re-re hello Code DZ.
Note that if you dont want to see the TEdit pop-up there is
Tedit.optionedit.autopopupmenu to set it.
But to come back to your initial question, even with a custom tpopupmenu set
for the Tedit.popupmenu the font of main form will not be inherited, the same
for Tmainmenu
Re-re hello Code DZ.
Haaa + ps I think I get what you ask.
By default, a TEdit shows a popup with "Copy/Paste/Cut" items.
And this popup font indeed can not be set.
To have a custom pop-up, just add a tpopupmenu1 on the form and assign in
Object inspector for TEdit1:
Tedit1.popupmenu :=
Re-hello.
> but one exception i found is that Tedit popup menu doesn't behave the same
It is also the case for tmainmenu widget.
The font of a form is and the font of a menu is so it
is not inherited.
I did try with a older release from Martin and the behaviour is the same.
Imho, a custom
Hello Code DZ.
> if i set a font for main form , normally every control in this form
> should inherited from the mainform font , but one exception i found is
> that Tedit popup menu doesn't behave the same
Hum, indeed...
You may create a method for tpopupmenu1.onupdate() with something like
7 matches
Mail list logo