1. Attn: David C.
- Posted by Terry <terry at EDERNEY.IDPS.CO.UK> Aug 30, 1999
- 423 views
David Is it possible to *globally* change the font that a windows prog uses so that all windows\controls opened by the prog all use the same font? (i.e. for text in edit controls, button text etc.) Thanks Terry
2. Re: Attn: David C.
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Aug 30, 1999
- 414 views
Terry wondered: > Is it possible to *globally* change the font that > a windows prog uses so that all windows\controls > opened by the prog all use the same font? (i.e. > for text in edit controls, button text etc.) I'd suggest making your own version of Create, such as: function Create( ... ) -- create, and set font for control integer id -- create the control id = create( ... ) -- set the font for the control setFont( id, "Verdana", 10, Normal ) return id end function Hope this helps! -- David Cuny
3. Re: Attn: David C.
- Posted by Terry Moriarty <terrymoriarty at EDERNEY.IDPS.CO.UK> Aug 31, 1999
- 417 views
- Last edited Sep 01, 1999
"David Cuny" wrote: > Terry wondered: > > >> Is it possible to *globally* change the font that > >> a windows prog uses so that all windows\controls > >> opened by the prog all use the same font? (i.e. > >> for text in edit controls, button text etc.) > > >I'd suggest making your own version of Create, such as: > > > function Create( ... ) > > -- create, and set font for control > > integer id > > > -- create the control > > id = create( ... ) > > > -- set the font for the control > > setFont( id, "Verdana", 10, Normal ) > > > return id > > > end function > > >Hope this helps! > > >-- David Cuny Thanks David. Shall I assume that this means *no* to the original question, and that I have to set the font for each control separately? All the best Terry
4. Re: Attn: David C.
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Aug 31, 1999
- 435 views
Terry wrote: > Shall I assume that this means *no* to the original question, > and that I have to set the font for each control separately? Yes, but the Control() wrapper seems to do the trick. -- David Cuny