VDO
https://youtu.be/xGI-gU_X2O4
Thanks in advance.
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
I had a similar problem. I solved it locally by declaring the font for each POPUP menu
Natter wrote:I had a similar problem. I solved it locally by declaring the font for each POPUP menu
Dutch, Natter
Please send me a small example, is it possible?
Dear Navarro,
I'm so sorry, I cannot split from main module for sample to you. Because when I make a new sample, it doesn't has a problem.
I don't understand why. But It solved when I define font in separate PRG file independently.
Thanks for your kind help.
I have the same thing. I was not able to make an example with an error. I just realized that changing the font in xBrowse is associated with multiple (>1) by calling POPUP menu on it. If you create your font for each POPUP menu, then everything is fine
FWH 17.04/xHarbour BCC7
dutch wrote:Dear Navarro,
I'm so sorry, I cannot split from main module for sample to you. Because when I make a new sample, it doesn't has a problem.
I don't understand why. But It solved when I define font in separate PRG file independently.
Thanks for your kind help.
Dear Navarrow,
No, the problem is
1. Define FONT with public variable in main PRG
2. Right for POPUP MENU
3. Open Dialog in 2nd PRG but use public FONT variable from main PRG 3 times, the public variable FONT has change to BOLD or LARGER size.
Thanks
dutch wrote:Dear Navarrow,
No, the problem is
1. Define FONT with public variable in main PRG
2. Right for POPUP MENU
3. Open Dialog in 2nd PRG but use public FONT variable from main PRG 3 times, the public variable FONT has change to BOLD or LARGER size.
Thanks
2. Right for POPUP MENU
Dutch
Just my 2 cents worth here .. I never create a public font ... I always try to compartmentalize all my module into one .prg and have Static Functions within that monolithic .Prg .. Like for example .. I may have a Customer module that has a xBrowse component to view customer records, I will have a Add, Edit and Delete routine ..
I create my fonts at the top of my monolithic .prg .. then pass oFont down as a parameter to each Static Function in the .prg .. when I leave that module .. I release oFont and move on to the next monolithic module.
I think of fonts like a table in a database .. Open when I need them and close them when I am done.
Thanks
Rick Lipkin
Dear Rick,
My program is produce for Multi-language and Public FONT variable is make me easy to DEFINE ONE use in ALL DIALOGS. I just ONE DEFINE and will effect all.
My opinion.
Thanks for your idea and it fixed my problem in this case.