Hello,
I have a control template with 3 edits: edtName, edtAddress, edtCity
I have put this control template in a looper.
Now I want to control the visibility of those edits.
In my looper I have just one control for which i can make an attribute, i.e. my control template itself. So it's not possible to make an attribute for one of the edits in my control template for setting the visibility.
How can I access the edit fields in this control template and set the visible property ?
Code like this does not work:
Idx = looperaddline(MyLooper)
MyLooper[Idx].attMyControlTemplate.edtName..visible = False does not work
Anyone any suggestions ?
Thx,
Bart
I have a control template with 3 edits: edtName, edtAddress, edtCity
I have put this control template in a looper.
Now I want to control the visibility of those edits.
In my looper I have just one control for which i can make an attribute, i.e. my control template itself. So it's not possible to make an attribute for one of the edits in my control template for setting the visibility.
How can I access the edit fields in this control template and set the visible property ?
Code like this does not work:
Idx = looperaddline(MyLooper)
MyLooper[Idx].attMyControlTemplate.edtName..visible = False does not work
Anyone any suggestions ?
Thx,
Bart