Hi Peter,

Yea, I can’t figure it out the correct command. It’s easy to get the focus on 
the container but then I have not been able to figure out what command to use 
to communicate with the subform .

In fact I changed the form so the only object that was table and focusable was 
the subform container1. But tabbing just selects the container.

Anyway, I will persevere as there has got to be a way.

Thanks,
John...

> Probably not. I was able to do this by calling subform in On losing focus 
> and then let subform execute GOTO OBJECT. As I need to jump from subform to 
> subform, messaging need to go through parent area. I do not know if it 
> would work with subforms in subforms. 
> 

> On Getting Focus on the Container corresponds to On Activate in the Subform. 
> On Losing Focus on the Container corresponds to On Deactivate in the Subform. 
> 
> this is documented (Form event). 
> 
> I can get an On Getting Focus event on subform container2 but not into the 
> Subform. 

> Hi All,
>> 
>> This is kind of like the thread that ran "subforms and object focus” when 
>> opening the parent form.
>> 
>> In my case I have a parent form open already and I am tabbing from object to 
>> object. What I want to happen is when I tab to subform container1 I want the 
>> first object (or some object of choice) within it to be selected and ready 
>> for edit.
>> 
>> That parent level subform container1 is the holder of another subform 
>> container2 (because I need to swap subforms within here) which then contains 
>> the subform where I want to set the goto object.
>> 
>> Parent form: subform container1 -> subform container2 -> Subform (here’s 
>> where I want to set GOTO OBJECT)
>> 
>> I can get an On Getting Focus event on subform container2 but not into the 
>> Subform. So then I need to trick the subform to respond to an event. But 
>> this doesn’t work:
>> 
>> EXECUTE METHOD IN SUBFORM($sbfm_Name;"PNL_General";*)
>> 
>> The only way I can get it to select a field or variable is to click within 
>> the subform container object.
>> 
>> So… I must be missing something?
>> 
>> Thanks,
>> John…
>> 
> 
> 
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to