Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD17] Control template in looper (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>