Hi David ---
>I do not understand VFP5 use of TabIndex and ActiveControl. Can I get a sample of an event giving control to a specific textbox. VFP help is not helping. TIA
Let's say that you wanted to activate a textbox (txtName) when a Form is Inited. In the Init of the Form you could have the following code:
THIS.txtName.SetFocus()
The SetFocus method sets focus to a given control. ActiveControl is a placeholder giving an object reference to the currently selected control. So...in the above example....
THISFORM.ActiveControl.Name = "txtName"
OK?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05