Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Different control Value be4 and after form.Show
LOCAL lcNm
m.cntr1=1 &&public for historical reasons
do while m.cntr1<=fcount() &&history -> no FOR
lcNm="ctl"+LTRIM(STR(m.cntr1,3))
do case
case aflds(m.cntr1,2)="C" &&public af(ie)lds
oFrm2.AddObject(lcNm,"txtMyC2") &&custom textbox
WITH oFrm2.&lcNm
.ControlSource="srch(m.cntr1)" &&public array
.Top=25*m.cntr1-22 &&works nicely :-)
ENDWITH
...
Before oFrm2.Show (modal)
Value=" " &&expected
After
Value=.f. &&Huh???????????
Somehow I got a scope problem when I moved this to the form Init. I guess I could solve this, but I WANT to KNOW, why the pendant to the 2.6 code doesn´t work!!!!!!!!!
Puzzled
G
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement