Re: font extent question
- Posted by Derek Parnell <ddparnell at bigpond.com> Aug 28, 2001
- 399 views
Sure, try this... setFont(Screen, "Arial", 20, Bold) charSize = getTextExtent(Screen,"abcdefghij") The "Screen" id is always available. ----- Original Message ----- From: "George Walters" <gwalters at sc.rr.com> To: "EUforum" <EUforum at topica.com> Subject: font extent question > > Is there a way to find the extent of a font w/o having to have an editText > control open? My problem is i'm trying to determine font size and extent > before my program launches any windows and controls....so I can select these > parameters before launching. > > this method (charSize = getTextExtent(id,"abcdefghij")) requires an existing > control. > > If i'm on the wrong track give me a hint... > > ...george > > >