Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating data in grid entry
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00678737
Message ID:
00678755
Vues:
16
This message has been marked as the solution to the initial question of the thread.
>...how to code the valid method so it won't allow them to leave the grid line.
Hi Douglas;

Each textbox control in its respective columns, should have something as:
procedure column1.text1.valid
return thisform.myvalid
endproc

procedure columnN.text1.valid
return thisform.myvalid
endproc

procedure thisform.myvalid
if  <cond1> && your cond. here
else
    return .f.
endif
return .t.
HTH

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform