Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid interactivechange question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00365330
Message ID:
00365365
Vues:
22
Thanks for replying. I was looking for afterrowcolchange and found that it can be use only at grid1 level not grid1.column2.text2 level. I have the following code in grid1.column1.text1.interactivechange ( abbreviated as .g1.c1.t1 in the code)
**** .g1.c1.t1.interactivechange
with thisform
&& 1,1=cto 1,2=date 1,3=id
if .array_create = .t.
.array_create = .f.
.z = recno()
.v = .v + 1
.a__gen10[.v,1] = .g1.c1.t1.value
.a__gen10[.v,3] = lv_ctoupdate.e_id
.g1.c2.setfocus()
else
dimension .a__gen10[alen(.a__gen10, 1) + 1, alen(.a__gen10, 2)] &&increase array by 1 row
.v = .v + 1
.z = recno()
.a__gen10[.v,1] = .g1.c1.t1.value
.a__gen10[.v,3] = lv_ctoupdate.e_id
.g1.c2.setfocus()
endif
endwith

Whenever I setfocus to column2 (.g1.c2.setfocus()), the valid fires and I only want valid to fire after I have entered the date in the g1.c2.t2

thanks
Nick patel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform