
PROBLEM: getting a new control in front of others during runtime
I'm working on a user defined control, which adds instances of Label(0) to
itself, according to the bound database. The newly loaded labels appear
behind the previous loaded labels! What can I do to make them visible during
runtime without being blocked by others?
code:
dim x as Integer
dim rsGrid as Recordset
If rsGrid.RecordCount > 0 then
Do Until rsGrid.EOF
x = rsGrid.AbsolutePosition + 1
load Label(x)
with Label(x)
.Caption = rsGrid(6)
.Left = rsGrid(3) * 15
.Width = rsGrid(4) * 15
rsGrid.MoveNext
end with
Loop
End If
will it help, to work with collection objects?
I'd appreciate your help...
Jo