Is it possible to copy control array to another control array in VB6? -


i want copy content of control array control array, possible in vb6? please help

you don't need second control array hold values in labels of first one, need normal array. suppose have control array of 3 labels called mylabel:

dim labelvalues(2) string dim integer  sub deleteandsavelabelvalues     = 0 2         mylabel             labelvalues(i) = .caption(i)             .caption(i) = ""         end     next end sub 

to replace label values, iterate through control array again , set caption appropriate array value.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -