tufanv Expert Licensed User Longtime User Jul 2, 2015 #1 Hello, I am using dim img(16) as imageview in my code module. But when i initialize all these imageviews from the code module how can i also see them on visual designer ? I have to use as img(16) but i also want to see them on deisgner ? Is there any way to do it ?
Hello, I am using dim img(16) as imageview in my code module. But when i initialize all these imageviews from the code module how can i also see them on visual designer ? I have to use as img(16) but i also want to see them on deisgner ? Is there any way to do it ?
Cableguy Expert Licensed User Longtime User Jul 2, 2015 #2 The only way to do it is to add them in the designer and then "duplicate" them in an array. Dim imgarray(15) Dim i as int = 0 for each v as imageview in activity Imgarray(i) = v i = i + 1 Next Upvote 0
The only way to do it is to add them in the designer and then "duplicate" them in an array. Dim imgarray(15) Dim i as int = 0 for each v as imageview in activity Imgarray(i) = v i = i + 1 Next
tufanv Expert Licensed User Longtime User Jul 2, 2015 #3 Cableguy said: The only way to do it is to add them in the designer and then "duplicate" them in an array. Dim imgarray(15) Dim i as int = 0 for each v as imageview in activity Imgarray(i) = v i = i + 1 Next Click to expand... Thank you ! I also want to add this to my b4i app but only problem is it does not use activity . I replaced it with page1 but that gives an error : object converted to string any idea about that or do i have to ask it in b4i forum =) Upvote 0
Cableguy said: The only way to do it is to add them in the designer and then "duplicate" them in an array. Dim imgarray(15) Dim i as int = 0 for each v as imageview in activity Imgarray(i) = v i = i + 1 Next Click to expand... Thank you ! I also want to add this to my b4i app but only problem is it does not use activity . I replaced it with page1 but that gives an error : object converted to string any idea about that or do i have to ask it in b4i forum =)
Cableguy Expert Licensed User Longtime User Jul 2, 2015 #4 There are a few diferences between b4a and b4i... I never used b4i but I guess it's a "view" object issue... In any case it should work with the image views parent Upvote 0
There are a few diferences between b4a and b4i... I never used b4i but I guess it's a "view" object issue... In any case it should work with the image views parent