Can you post a screenshot of your finished design running, Charlie?
Just of the pseudo-toolbar, I mean.
On 5/20/2019 9:30 AM, Charlie-gm wrote:
Just as a quick aside - and this does NOT answer the original
question, but...
When I wanted to spruce up the application menu system, I started
using the toolbar class. And if you put a container object inside the
toolbar, and put all your menu "objects" inside that container, you
can get fine control over placement (give things more or less spacing,
etc). From there you can do all the usual events and stuff (like
moving/resizing/changing fonts of objects in the "menu" based on
events, etc). So you could put text objects (or labels even?) in that
container, decorate as desired, trap the click event and call your
pop-up menu where you do have better font control, and so on. The
toolbar class does NOT have to be used to make "button" type menus.
HTH,
-Charlie
On 5/20/2019 8:36 AM, MB Software Solutions, LLC wrote:
Thanks for the link, Koen. I'll check that out. Yeah, I vaguely
recall learning the main menu font was not able to be changed. This
is an area where FoxPro obviously shows its age.
On 5/18/2019 4:44 AM, Koen Piller wrote:
Hi,
You cannot change the font in the mainmenu, this object will always
take
the font you have stipulated in your windows settings. You can
change the
submenu's font, by changing the .mpr file. Be sure after you have
done that
not to invoke the default menudesigner anymore as this will reset your
fontsettings.
An other possibility is to study Yousfi's blog on this subject:
http://yousfi.over-blog.com/tag/menu/
Regards,
Koen
Op vr 17 mei 2019 om 06:28 schreef MB Software Solutions, LLC <
mbsoftwaresoluti...@mbsoftwaresolutions.com>:
VFP9SP2 on Win7/8/10
I see in VFP Help that if you're stick building your app's top
positioned (not-pop-up) Menu code by hand, it has a FONT clause.
However, I use the good ol' fashioned Menu designer (as clunky as it
is). I've introduced the ability for the user to pick the Font s/he
wants in my app now and have that working great for the forms
UI...but I
want to get the top menu using the same Font Name. I realize
MESSAGEBOX
fonts are a different beast so that's a different time. Here's a
screenshot: https://www.screencast.com/t/kWLEGwE9G
But the VFP menu: I adjusted the MyMenu.MPR file like below:
https://www.screencast.com/t/U7ptKp7rrxV
...but that didn't work. Plus, to make it worse, when I rebuilt all
files in the project, those font command changes went away.
Ideas?
tia,
--Mike
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message:
https://leafe.com/archives/byMID/e6c2b15f-1bdf-aa87-ad35-f71b42e65...@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.