>Is there a calculation on determining the width of a data entry field?
>I have looked at the way vfp sizes fields when they are drop on the
>form, but I am not sure how vfp calculates the width. I am working
>in pixels. Thankyou
Calculating the width in a windows situation is not trivial. It is dependent on the font, the point size, the bold or regular, the italic or not, etc..
Using Courier New 9 pitn regular non italic you can use this formula;
(NumChars*7)+10 for textboxes
(NumChars*7)+25 for comboboxes
Change the font or point size and that formula does not work anymore.