P
Peter Gloor
I have a form with some text fields on it. One of the fields is limited to
35 characters, but the user should enter as much relevant information as
possible.
In order to let the user see how many characters he/she already has entered
I wanted to place a field on the form with the actual size of the text that
is updated each time the user adds/removes a character.
How can this be achieved?
I tried to use TitleLen.Text = CStr( Len(Title.Text)) in the Title_KeyPress
event. But the I get an error at runtime indicating that this is not allowed
if TitleLen does not have the focus.
35 characters, but the user should enter as much relevant information as
possible.
In order to let the user see how many characters he/she already has entered
I wanted to place a field on the form with the actual size of the text that
is updated each time the user adds/removes a character.
How can this be achieved?
I tried to use TitleLen.Text = CStr( Len(Title.Text)) in the Title_KeyPress
event. But the I get an error at runtime indicating that this is not allowed
if TitleLen does not have the focus.