>Hi Dragan,
>I have a little question for you.
>How can i resize a field when i know only his lenght?
>If my field is lenght 5 what value i put in .Widht=?
>Thanks
You can always do something like this:
this.width=thisform.txtwidth(this.text)
Provided your control and your form use the same font (size, name, bold, itlaic etc). You can temporarily set your form's font attributes to be the same as your control, and restore them afterwards.