tenshekels
Programmer
I have a control array of items that I have to constantly have to dynamically add/remove items from (depending on the position of a scrollbar).
The problem is that eventually the size of the control gets bigger and bigger.
I use the "Load sections(intCtr)" to load a new control dynamically.
And when I unload the control I use...
"
for each ctlSec in Sections
if (ctlSec.visible = false) then
unload ctlSec
set ctlSec = nothing
end if
next
"
Is there something that I am doing wrong when I am unloading the resource? Is there a possible reason why the size of the control gets gradually bigger over time?
The problem is that eventually the size of the control gets bigger and bigger.
I use the "Load sections(intCtr)" to load a new control dynamically.
And when I unload the control I use...
"
for each ctlSec in Sections
if (ctlSec.visible = false) then
unload ctlSec
set ctlSec = nothing
end if
next
"
Is there something that I am doing wrong when I am unloading the resource? Is there a possible reason why the size of the control gets gradually bigger over time?