General information
Category:
Forms & Form designer
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only