John,
Thanks. I cannot test it now, but I guess that due to the nature of the code (the keyboard statement) I have my doubts. To be effective, control must be given back to the the event manager which is probably not the case within a method.
Thanks
>If this is a case, then issue a NoDefault first, then issue your code, finally, issue a DoDefault():
>
>
>NoDefault
>*/ Your code
>Dodefault()
>
>
>>>Marc,
>>>Fox, as you know, is not kosher animal :).
>>
>>rofl!
>>
>>BTW. I think the activate event fires too late for the {tab} to be effective. I set it in the validation of the key and then it worked well.
>>
>>Thanks.
>>
>>Marc
>>
>>
>>>
>>>>Hi Edward,
>>>>
>>>>Thanks. Sounds like good advice. Not too kosher though :)
>>>>
>>>>Marc
>>>>
>>>>
>>>>
>>>>>>Hi,
>>>>>>
>>>>>>I have a txtbox in which the user enters the key of a record he wants to consult. The information is distributed over several pages organized in a pageframe.
>>>>>>
>>>>>>In new mode I would like that after having pressed Enter the screen cursor would go directly to the first field of the first page i.o. of remaining on the tab.
>>>>>>
>>>>>>TIA.
>>>>>>
>>>>>>Marc
>>>>>
>>>>>You may fire (conditionally or not) KEYBOARD '{TAB}' from Page1.Activate event
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.