[Gambas-user] question about creating and deleting objects

Benoit Minisini gambas at ...1...
Sun Sep 28 20:11:46 CEST 2008


On dimanche 28 septembre 2008, Joshua Higgins wrote:
> Hello.
>
> I am making a task bar in gambas3. For each task I have a container panel
> which has a label and a button in. How can I create one of these for each
> task and set the options of the label and button?
>
>
> Currently I am up to here:
>
> Dim swindows As Array
--> As Integer[] is better

> Dim swindow As Integer
>
> swindows = Desktop.Windows.StackingOrder
> For Each swindow In swindows
>   'make new container panel
>   'set options of label and button
> Next

What's the problem with your code?

-- 
Benoit Minisini




More information about the User mailing list