In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Assign screen font

Xailer professional forum in English
Responder
david fung
Mensajes: 257
Registrado: Mié Jul 19, 2006 8:48 am

Assign screen font

Mensaje por david fung »

I wonder is there a way to dynamically assign (using code) a particular
font & size to all forms (that will propagate throughout the entire
application) .
I tried to add
Application:oFont:cName := "Courier New"
Application:oFont:nSize := 15
It doesn't work quite right, is it because the *.xfm has a font
assignment statement throughout ?
Thanks.
David
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

Assign screen font

Mensaje por pjmfelix »

Hi !,
if i understand what you ask, try put in ich forminitialize this line
::oFont := ::oParent:oFont.
Regards.
"david fung" <davfung@yahoo.com> escreveu na mensagem
news:45c88b5f$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>I wonder is there a way to dynamically assign (using code) a particular
> font & size to all forms (that will propagate throughout the entire
> application) .
>
> I tried to add
>
> Application:oFont:cName := "Courier New"
> Application:oFont:nSize := 15
>
> It doesn't work quite right, is it because the *.xfm has a font
> assignment statement throughout ?
>
> Thanks.
> David
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

Assign screen font

Mensaje por pjmfelix »

Hi !,
if i understand what you ask, try put in ich forminitialize this line
::oFont := ::oParent:oFont.
Regards.
"david fung" <davfung@yahoo.com> escreveu na mensagem
news:45c88b5f$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>I wonder is there a way to dynamically assign (using code) a particular
> font & size to all forms (that will propagate throughout the entire
> application) .
>
> I tried to add
>
> Application:oFont:cName := "Courier New"
> Application:oFont:nSize := 15
>
> It doesn't work quite right, is it because the *.xfm has a font
> assignment statement throughout ?
>
> Thanks.
> David
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9443
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Assign screen font

Mensaje por ignacio »

David,
If all the forms and controls have the property lParentFont to TRUE, you
just need to change the main form font.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:45c88b5f$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>I wonder is there a way to dynamically assign (using code) a particular
> font & size to all forms (that will propagate throughout the entire
> application) .
>
> I tried to add
>
> Application:oFont:cName := "Courier New"
> Application:oFont:nSize := 15
>
> It doesn't work quite right, is it because the *.xfm has a font
> assignment statement throughout ?
>
> Thanks.
> David
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

Assign screen font

Mensaje por NoName »

David,
If all the forms and controls have the property lParentFont to TRUE, you
just need to change the main form font.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:45c88b5f$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>I wonder is there a way to dynamically assign (using code) a particular
> font & size to all forms (that will propagate throughout the entire
> application) .
>
> I tried to add
>
> Application:oFont:cName := "Courier New"
> Application:oFont:nSize := 15
>
> It doesn't work quite right, is it because the *.xfm has a font
> assignment statement throughout ?
>
> Thanks.
> David
Responder