Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top level forms and tabs
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00041165
Message ID:
00041179
Vues:
29
>>>Hi everyone,
>>>
>>>I'm having a problem with tabbing to the next field in my top level form. Nothing happens till the user clicks on it. Why doesn't it have the focus?
>>>
>>>Thanks in advance,
>>>
>>>Jamuna
>>
>>You would get this if the Pageframe's TabStop property is set to False. Try making an explicit SetFocus() to one of the objects on the current page or reset the TabStop.
>>
>>Kamal
>
>I dont have a page frame and I dont have the TabStop set to .f. I also have set focus to the first object on the form. It is highlighted but seems like everything is frozen till I click on the form. Weird..

This problem sometimes comes when trying to SetFocus to an object which is either invisible or on some other page. The later one is out of the question for your query. I would suggest trying..

ON KEY LABEL f12 WAIT WIND IIF(TYPE('_screen.ActiveForm.ActiveControl') == 'O', _screen.ActiveForm.ActiveControl.Name, 'No control') NOWAIT

Run the form and hit F12, this would give you an idea where you are. There has to be something between Refresh() and SetFocus()

Good Luck
Kamal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform