ALL:
We've discovered that with a container that has various VFP objects (like textboxes, checkboxes, comboboxes and other containers), that the following instruction
thisform.cntDummy.setfocus
makes the 1st control dropped onto the container active, regardless of the TAB ORDER that I set. Any ideas why? I can explicitly setfocus to "txtMyTextBox", but if I change the order, I have to change the "name".
Another possiblity is to add code to the INIT of the form, that looks at the tab order of the controls in a container and assign the "Name" of the appropriate control to a property. This would eliminate maintaining the "name" in the property if TAB ORDER changes, but adds complexity and takes cycles in bringing up the form.
TIA
Mike
Mike