What I am looking for is an approach that does not require any manual entry. Now that I think more about it - I should be able to achieve what I want programmatically by stuffing a "Tab" into the keyboard buffer.
Thanks - Joe On Saturday, January 03, 2009 1:01 AM, MB Software Solutions General Account wrote: > >Date: Sat, 3 Jan 2009 01:01:56 -0500 (EST) >From: MB Software Solutions General Account >To: [email protected] >cc: >Subject: Re: Passing control to the next object in the tab order (newbee) > >Joe Yoder wrote: >> In FPD one could return the tab index number of the control to receive >focus from the valid event. I understand one can now return the name of >the target control to achieve the same thing. In my case, however, I >want to stay generic so I can drop my control on any form and not need >to give it the name of the next control in the tab sequence. >> Is there a way to do what I propose? A better approach? >> > >Well, if you insisted on this approach, I'd suggest creating a custom >property called something like oNextFocus and then in the LostFocus >event do something like this: > >if not empty(oNextFocus) then > lcCmd = oNextFocus + ".SetFocus" > &lcCmd >endif > >This was something off the top of my head and not tested, so caveat emptor. > > > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

