Am Montag, den 27.06.2011, 22:31 +0200 schrieb M. Cs.:
> Thanks! I wonder whether it is possible with any kind of controls to
> do the same thing?
>
> 2011/6/27, Caveat :
> >
>
Salut,
yes you can, but that's not all.
CONST myGotFocusColor AS Integer = &HAAFF7F&
CONST myLostFocusColor AS Intege
hi,
well, to have a dynamic array you need functions like .Add, Remove and
stuff. this means that you have to use a class that implements these
functions and deals with objects.
you may want to use the Object[]:
DIM aLabels AS NEW Object[]
DIM lblLabel AS NEW Label
aLabels.Add(lblLabel)
but b
And the other remark is this is only a static solution: I need to
declare the dimension of array, which is a handicap.
2011/6/27, M. Cs. :
> Thanks! I wonder whether it is possible with any kind of controls to
> do the same thing?
>
> 2011/6/27, Caveat :
>>
>> Private allLabels as TextLabel[]
>>
>
Thanks! I wonder whether it is possible with any kind of controls to
do the same thing?
2011/6/27, Caveat :
>
> Private allLabels as TextLabel[]
>
> Public Sub Test_Click()
>
> allLabels = New TextLabel[10]
> createLabels()
> deleteLabels()
> tidyLabels()
>
> End
>
> Public Sub createLabel
Private allLabels as TextLabel[]
Public Sub Test_Click()
allLabels = New TextLabel[10]
createLabels()
deleteLabels()
tidyLabels()
End
Public Sub createLabels()
Dim idx As Integer
For idx = 0 To 9
allLabels[idx] = New TextLabel(Me)
allLabels[idx].X = 10
allLabels[
I know how to create a label object with the
myLabel=New Label(Fmain) sentence. But how could I create an array of
labels in order to be able to remove them if needed?
--
All of the data generated in your IT infrastructure