Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On select Edit box gets last value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
On select Edit box gets last value
Divers
Thread ID:
00614714
Message ID:
00614714
Vues:
39
In form, there is four containers having edit box (container class). Each edit box has different control source. The value of these edit boxes can be changed through option control (option group buttons). In the InterActiveChange event of option group I have following codes.
 
do case
case this.value=1
thisform.boxmemo2.edit1.value=alltrim(remarks2.remarks_a)
thisform.boxmemo3.edit1.value=alltrim(remarks2.remarks)
thisform.boxmemo4.edit1.value=alltrim(remarks1.approv_a)
thisform.boxmemo5.edit1.value=alltrim(remarks1.approv)
enddo
case this.value=2
some codes here
enddo

These codes are working well. But when I select any edit box after running the form the last value comes in the edit box. I do not want to use gotfocus in edit box. Any help please
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform