>hello all,
>
>Can some 1 explain This ?
>
>m.abc = 'Containername'
>
>thisform.&abc..visible = .t. ---
>thisform.&abc.visible = .t. ---
>
>
>
>suhashegde
Suhas,
By language specification . ends macro substitution.
thisform.&abc..visible is interpreted as "thisform.Containername.visible
while:
thisform.&abc.visible is interpreted as "thisform.Containernamevisible
In fact macro in such cases do not need a dot because you don't need a macro - read it as "do not use macro where you don't need it:)
with eval('thisform.' + m.abc)
.Visible = .t.
endwith
Is a better construct IMHO.
Cetin