> In my application I need to generate the user defined generic Data entry screen. User has got option to select the required FONT and SIZE. I am trying to make use of FONTMETRIC() to calculate the width of each Text Box. FONTMETRIC() gives proper value for ARIEL font. But it is not proper with COMIC SANS MS and VERDANA (example) Fonts. Is there any better way to calculate the WIDTH of TEXTBOX?
If you plan on "generating" screens, I would consider .ScaleMode = 0 (Foxels).
You can then use relative numbers like 1, 2, etc. for rows (ie. .Top), columns (ie. .Left), widths and heights. If something doesn't look quite right at run time, you can use a scaling factor in .Init time to compensate (eg. THIS.Row = THIS.Row * 1.2).
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement