Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Focus
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Focus
Divers
Thread ID:
00743761
Message ID:
00743761
Vues:
39
I am using VFP6. I am using a formset and am having an odd problem. The enter key doesn't seem to want to move the cursor from text box to text box when I press it. I suspect that what is happening is that it's something to do with the focus. It sort of appears that two controls (on two different forms within the formset) both have focus at the same time. Text that I type appears in the text control box of form 3. But when I press enter, the click even on form 1 fires.

Here is the code I have tried for the search button on form 1.
debugout 'cmdsearch.click'
*thisform.hide && I tried using this but didn't help
*thisform.visible=.f. && I tried using this but didn't help
*thisform.enabled=.f. && I tried using this but didn't help
thisformset.form3.show()
thisformset.form3.txtSearch.setfocus()


Thanks in advance for any comments or suggestions =)
If Bill Gates had a penny for every time windows crashed he'd be... Oh wait he does!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform