Hi, I need to declare an array which will be used to add controls to a form such as this
vb Code:
Public picBatch() As Control Public intControlIndex As Integer intControlIndex = UBound(picBatch) + 1 ReDim Preserve picBatch(intControlIndex) Set picBatch(intControlIndex) = Controls.Add("VB.PictureBox", "PicBatch_" & CStr(intControlIndex))
I need to then assign my own tags.
IE. picBatch(1).AtStart = true
how do I do this?




Reply With Quote