>I have a formset with FORM1 and FORM2. FORM1's INIT states
>THISFORMSET.FORM2.HIDE - THISFORMSET.FORM2.SHOW is in a textbox lostfocus - It works but the focus returns to the next textbox on FORM1 in the proper tab order. How do I keep the focus on FORM2?
>I've tried THISFORMSET.FORM2.SETFOCUS just after the SHOW command but that didn't work.
Peter,
You have two problems here. 1) you need to put focus on one of the controls in form2 and 2) you have to stop the natural behavior of the lostfocus which puts focus on the next control in the tab order.
The first I can't help you with because I have no idea what contrls are in form2, but the second is accomplished by issuing a NODEFAULT command in the LostFocus right after your SetFocus call.