Yes, Daniel, that's what I thought. But testing it out with two textboxes, both with SelectOnEntry set to TRUE, but adding
DODEFAULT()
to the GotFocus method of one of them produced different results. The one with DODEFAULT actually got "selected" when I clicked in it. The other didn't.
Also, it seems to me that the "if This.SelectOnEntry" part is unnecessary. With the Dodefault code, if the flag is set to TRUE, then it will select the text, otherwise it won't.