scsjc Well-Known Member Licensed User Longtime User Feb 1, 2017 #1 Hello, is possible change the size from DIM, (old redim) ??? Code: dim flagimag(5) As ImageView . . redim flagimag(10)
Hello, is possible change the size from DIM, (old redim) ??? Code: dim flagimag(5) As ImageView . . redim flagimag(10)
klaus Expert Licensed User Longtime User Feb 1, 2017 #2 Yes, but you will loose the current values. Another possibility is the List object, you can add and remove items without loosing data. Upvote 0
Yes, but you will loose the current values. Another possibility is the List object, you can add and remove items without loosing data.
scsjc Well-Known Member Licensed User Longtime User Feb 1, 2017 #3 klaus said: Yes, but you will loose the current values. Another possibility is the List object, you can add and remove items without loosing data. Click to expand... but is slow no? because need a loop no? Upvote 0
klaus said: Yes, but you will loose the current values. Another possibility is the List object, you can add and remove items without loosing data. Click to expand... but is slow no? because need a loop no?
klaus Expert Licensed User Longtime User Feb 1, 2017 #4 What exactly do you want to do? You can do this: Code: Dim flagimag(5) As ImageView ' ' Dim flagimag(10) As ImageView You can also do: Code: Dim flagimag() As ImageView flagimag = Array As ImageView(ImageView1, ImageView2, ..., ImageView9) Upvote 0
What exactly do you want to do? You can do this: Code: Dim flagimag(5) As ImageView ' ' Dim flagimag(10) As ImageView You can also do: Code: Dim flagimag() As ImageView flagimag = Array As ImageView(ImageView1, ImageView2, ..., ImageView9)
scsjc Well-Known Member Licensed User Longtime User Feb 1, 2017 #5 klaus said: What exactly do you want to do? You can do this: Code: Dim flagimag(5) As ImageView ' ' Dim flagimag(10) As ImageView You can also do: Code: Dim flagimag() As ImageView flagimag = Array As ImageView(ImageView1, ImageView2, ..., ImageView9) Click to expand... I'm using a CustomListView, and have a list from users conversations...with icons (imageview) or labels (texts) when i need ADD userconversation inside CustomListView, i need REDIM all objects icons or labels... now...im try a fix dim with a big size... but i dont know if that use memory ???? Upvote 0
klaus said: What exactly do you want to do? You can do this: Code: Dim flagimag(5) As ImageView ' ' Dim flagimag(10) As ImageView You can also do: Code: Dim flagimag() As ImageView flagimag = Array As ImageView(ImageView1, ImageView2, ..., ImageView9) Click to expand... I'm using a CustomListView, and have a list from users conversations...with icons (imageview) or labels (texts) when i need ADD userconversation inside CustomListView, i need REDIM all objects icons or labels... now...im try a fix dim with a big size... but i dont know if that use memory ????
scsjc Well-Known Member Licensed User Longtime User Feb 1, 2017 #7 klaus said: As already suggested, use à List. Click to expand... thanks !!!! Upvote 0