General information
Category:
Coding, syntax & commands
Len, I'll give that atry anf let you know
Regards
Gerard
>>Len, I'm confused myself now !!!
>>I'll recap on what I am tring to do.
>>
>>Ideally, In the When Code have the following two separate scenarios:
>>
>>1)Return .F. and jump out of that control to the next control in the Tab Order
>>
>>2)MyParticularObj.SetFocus
>> Returm .f.
>> Which I would like to Jump out of the control and set focus on MyParticularObj
>>
>>Now:
>>I can do 1) no problem
>>
>>On option 2), I cannot use the when because it does not allow SetFocus so I have to move the code into the GotFocus event.
>>
>>I now end up with some code in GotFocus and Some code in When.
>>
>>If I move all the code to the GotFocus event, in my testing scenario 1) (..with a NODEFAULT) returns control to the First object, not the Next object
>>
>>
>>What I am really wondering is there a way to accomodate what I want to do, (for both 1) and 2) in either the When or Gotfocus event. I want to centralize the code in one place ?
>
>Does using about using keyboard '{tab}' for option 1 in the GotFocus event work ?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only