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.





_______________________________________________
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.

Reply via email to