Página 1 de 1

Assign screen font

Publicado: Mar Feb 06, 2007 3:06 pm
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

Assign screen font

Publicado: Mar Feb 06, 2007 6:30 pm
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

Assign screen font

Publicado: Mar Feb 06, 2007 6:30 pm
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

Assign screen font

Publicado: Mar Feb 06, 2007 6:46 pm
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

Assign screen font

Publicado: Mar Feb 06, 2007 6:46 pm
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