Renoir,
I have Editbox properties ENABLED = .T. and VISIBLE = .T.
I have a When Event in the Editbox as follows:
RETURN isediting
So when I press the Edit button it allows me to use the Editbox. Hence the isediting = .T. as the first line in my Editbox Click() code.
I tried putting THISFORM.Edit2.SetFocus in the Valid event of the Edit button, but no help. I thought about putting it in the LostFocus as you mentioned, but from what you said that did not work either.
I have had some weird behavior SetFocus in the past as well, but usually find some work around. Not this time, so far.
Thanks for helping me! I will keep thinking.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site:
www.stephenkramer.comWould you believe Far Side Lite?
More than 270 original cartoons.