Quantcast
Viewing all articles
Browse latest Browse all 2935

In the open event, How do make 5 columns invisible without listing each one

I never knew how to do this kind of logic and it really comes into play a lot. Like to learn the right way finally.

 

Example

 

LISTING OUT EACH ONE METHOD

dw_1.Object.t1.Visible=0

dw_1.Object.t2.Visible=0

dw_1.Object.t3.Visible=0

dw_1.Object.t4.Visible=0

dw_1.Object.t5.Visible=0

 

 

DESIRED METHOD(I know this does not work)

string ls_test

FOR i = 1 to 5

    ls_test = "dw_1.Object.t" + String(i) + ".Visible=0"

NEXT


Viewing all articles
Browse latest Browse all 2935

Trending Articles



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