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
When you adjust the MPR then regenerate, the code is not in the MNX so it will not add it into the MPR.
You can try to use one of the special clauses in the MNX to put the font setting in there, basically fooling it, but I feel that Windows always uses the Windows font settings for menus so it won't have any effect anyhow.
I believe if you want special fonts for your menus you will need to make your own special menu which is not a menu :0).
Frank.
Frank Cazabon
On 17/05/2019 12:27 AM, MB Software Solutions, LLC wrote:
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]
Of course having said that, I googled and found this:
https://www.tek-tips.com/faqs.cfm?fid=6328
Frank.
Frank Cazabon
On 17/05/2019 08:48 AM, Frank Cazabon wrote:
When you adjust the MPR then regenerate, the code is not in the MNX so it will not add it into the MPR.
You can try to use one of the special clauses in the MNX to put the font setting in there, basically fooling it, but I feel that Windows always uses the Windows font settings for menus so it won't have any effect anyhow.
I believe if you want special fonts for your menus you will need to make your own special menu which is not a menu :0).
Frank.
Frank Cazabon
On 17/05/2019 12:27 AM, MB Software Solutions, LLC wrote:
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]
Andrew Ross MacNeil's genmenux handles this. You basically add directives to the comments and that inserts code in the generated menu.
--
rk
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of MB Software Solutions, LLC Sent: Friday, May 17, 2019 12:28 AM To: profoxtech@leafe.com Subject: Changing VFP menu (during runtime in app) FONT NAME
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
_______________________________________________ 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/1753fe63-abb2-6c57-1b97-b94c971c2f10@mbsoft... ** 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. Report [OT] Abuse: http://leafe.com/reportAbuse/1753fe63-abb2-6c57-1b97-b94c971c2f10@mbsoftware...
Also check out Doug Hennig's Object-Oriented Menus intiative.
Eric
On Fri, May 17, 2019 at 7:55 AM Richard Kaye rkaye@invaluable.com wrote:
Andrew Ross MacNeil's genmenux handles this. You basically add directives to the comments and that inserts code in the generated menu.
--
rk
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of MB Software Solutions, LLC Sent: Friday, May 17, 2019 12:28 AM To: profoxtech@leafe.com Subject: Changing VFP menu (during runtime in app) FONT NAME
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]
If you're going to be using _MSYSMENU, I think the following applies:
"The FONT and STYLE clauses at each level were added in VFP 3. These clauses let you decide what font to use when you're not working with the system menu. The system menu picks up its font settings from the Registry and ignores any fonts you specify. "
A reading from the Book of HackFox7, topic DEFINE MENU, https://www.tedroche.com/hackfox7/s4g098.html
On Fri, May 17, 2019 at 12:28 AM MB Software Solutions, LLC < mbsoftwaresolutions@mbsoftwaresolutions.com> wrote:
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]
Hello, I have been asked to work on a VFP6 application developed with Visual MaxFrame Professional.
I tried to compile in VFP9 and got it to compile but it does not run very well.
Does anyone know if there is an update to Visual Maxframe for VPF9 and where I can get the update? I have looked everywhere and not making any progress
TGIF, Kent
What version of Visual MaxFrame Professional (VMP) are you using? You can check the build number by running this in the command window:
?XXVMPBuild()
I use build 2008.08.08.01 (which was not the latest when the business apparently shut down) and it runs fine under VFP9. As I understand it Russ Swall sold the business (Vision Pace) in 2015 but I don't know to whom and if they support VMP.
You can ask Art Bergquist (abergquist AT sbcglobal DOT net) more about the business status of VMP.
If you have specific questions about VMP maybe I can help.
Frank.
Frank Cazabon
On 17/05/2019 01:56 PM, kbelan@mchsi.com wrote:
Hello, I have been asked to work on a VFP6 application developed with Visual MaxFrame Professional.
I tried to compile in VFP9 and got it to compile but it does not run very well.
Does anyone know if there is an update to Visual Maxframe for VPF9 and where I can get the update? I have looked everywhere and not making any progress
TGIF, Kent
[excessive quoting removed by server]
Hello Frank, Thanks so much for the info. I xxvmpbuild does not run and I can't find that prg.
After looking around a bit, we have a XLIB folder and the readme says VMP v3.01 build date 9/16/98 and is referencing VFP5 ... LOL
The last person that worked on this program was using an XP virtual box running VFP6 to get this to compile.
Guess I need to look at that setup and see if I can get this to compile.
Thanks again for your help, Kent
----- Original Message ----- From: "Frank Cazabon" frank.cazabon@gmail.com To: profox@leafe.com Sent: Friday, May 17, 2019 2:56:48 PM Subject: Re: Visual MaxFrame Professional
What version of Visual MaxFrame Professional (VMP) are you using? You can check the build number by running this in the command window:
?XXVMPBuild()
I use build 2008.08.08.01 (which was not the latest when the business apparently shut down) and it runs fine under VFP9. As I understand it Russ Swall sold the business (Vision Pace) in 2015 but I don't know to whom and if they support VMP.
You can ask Art Bergquist (abergquist AT sbcglobal DOT net) more about the business status of VMP.
If you have specific questions about VMP maybe I can help.
Frank.
Frank Cazabon
On 17/05/2019 01:56 PM, kbelan@mchsi.com wrote:
Hello, I have been asked to work on a VFP6 application developed with Visual MaxFrame Professional.
I tried to compile in VFP9 and got it to compile but it does not run very well.
Does anyone know if there is an update to Visual Maxframe for VPF9 and where I can get the update? I have looked everywhere and not making any progress
TGIF, Kent
[excessive quoting removed by server]
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 < mbsoftwaresolutions@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]
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 < mbsoftwaresolutions@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]
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 < mbsoftwaresolutions@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]
Yeah I recall dumping the toolbar class honestly probably 15+ years ago as it was difficult (I thought) to work with due to something at the time.
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 < mbsoftwaresolutions@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]
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 < mbsoftwaresolutions@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]