I have a text field with a default message like "Please enter text here"
I would like to blank the field when it has initially focus so the user can enter text.
If they then change focus by selecting some other button/label and return to this text field I want to blank the old text so that new text can be entered.
I thought this would work.
Sub edit_newtext_FocusChanged (HasFocus As Boolean)
text_field.Text=""
End Sub
And it does the very first time only. The routine is never fired again when the text_field is re-selected.
I also tried forcing focus to another element that didn't work either.
Any clues?
What am I missing?
I would like to blank the field when it has initially focus so the user can enter text.
If they then change focus by selecting some other button/label and return to this text field I want to blank the old text so that new text can be entered.
I thought this would work.
Sub edit_newtext_FocusChanged (HasFocus As Boolean)
text_field.Text=""
End Sub
And it does the very first time only. The routine is never fired again when the text_field is re-selected.
I also tried forcing focus to another element that didn't work either.
Any clues?
What am I missing?