The more I used VFP9 in my work, the more I realized I could shorten my coding by using certain command.
Now I wonder whether is it possible to use wildcard(*) in "With Thisform/Endwith". Take for example these codes -
WITH THISFORM
.SETALL("TOP",nTOP,"E1")
.W99.TOP = nTOP + 30
.M99.TOP = nTOP + 30
.S99.TOP = nTOP + 30
.I99.TOP = nTOP + 30
.Q99.TOP = nTOP + 30
.R99.TOP = nTOP + 30
.X99.TOP = nTOP + 30
ENDWITH
I would like to use THISFORM.*99.TOP = nTOP + 30 (It would not be worth while to further Class/Sub-Class it).
Is there other methods that is more suitable?
Any suggestions will be highly valued.
Thank you.
Now I wonder whether is it possible to use wildcard(*) in "With Thisform/Endwith". Take for example these codes -
WITH THISFORM
.SETALL("TOP",nTOP,"E1")
.W99.TOP = nTOP + 30
.M99.TOP = nTOP + 30
.S99.TOP = nTOP + 30
.I99.TOP = nTOP + 30
.Q99.TOP = nTOP + 30
.R99.TOP = nTOP + 30
.X99.TOP = nTOP + 30
ENDWITH
I would like to use THISFORM.*99.TOP = nTOP + 30 (It would not be worth while to further Class/Sub-Class it).
Is there other methods that is more suitable?
Any suggestions will be highly valued.
Thank you.