Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force to lost focus
Message
De
07/06/2001 07:02:20
Dino Liberale
Ministero Lavori Pubblici
Trieste, Italie
 
 
À
07/06/2001 06:23:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00516198
Message ID:
00516205
Vues:
24
>>I have a form with a navigation toolbar, when in textbox you insert something and don't press TAB or ENTER or click on a object of form, but you click on a btn of toolbar the pointer moves and inserted data in textbox will be lost.
>>This is all because the value of textbox goes in the field when lostfocus, with toolbar the focus isn't lost in textbox.
>>
>>How to force this process ?
>>
>>T.I.A.
>>
>>Dino
>
>
if type('_screen.activeform.activecontrol')= 'O' and ;
> !isnull(_screen.activeform.activecontrol)
> _screen.activeform.activecontrol.valid
>endif
Cetin

Thenks Cetin,

I try your code, put it in click event of my CmdNext button of toolbar, but the focus remain on textbox and its value doesn't replace the data field. So it doesn't work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform