Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus() to DHTML.OCX
Message
 
 
À
05/04/2004 10:43:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00892269
Message ID:
00892504
Vues:
21
Gary,

Did you try to add at the end of the code of Bold/Italic etc buttons
Thisform.oDHTML.SetFocus()
?

>Can anyone help me? I need to SetFocus() to the DHTML.OCX control,
>The users click the button to Bold/Italic etc. But I can't get focus back to the OCX!
>
>I've have,
>METHOD onblur()
>this.Enabled = .F.
>this.Enabled = .T.
>
>Which helps it lose focus and I've tried numerous things in the .GotFocus() and .KeyDown() (stuffing keys into the buffer) but No luck. Anyone got this working? or have and ideas?
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform