Nochmal: Was willst du eigentlich machen und was hat das mit x,y zu tun. Die Handles brauchen keine Koordinaten.
Farbe von allen Controls ändern
-
- [ gelöst ]
-
NoName -
10. Februar 2010 um 18:59 -
Geschlossen -
Erledigt
-
-
wer sagt denn dass du deine controls mit ner for schleife erstellen musst.
kannst sie ja so genauso als array erstellen...
[autoit]Dim $labels[50]
[/autoit]
$labels[0] = Guictrlcreatelabel("label1", 12,34,45,67)
$labels[1] = Guictrlcreatelabel("label2", 12,34,45,67)
$labels[2] = Guictrlcreatelabel("label3", 12,34,45,67)
...
$labels[49] = Guictrlcreatelabel("label50", 12,34,45,67) -
Nochmal: Was willst du eigentlich machen und was hat das mit x,y zu tun. Die Handles brauchen keine Koordinaten.
beim erstellen muss er die koordinaten angeben und das macht ihm mit einer for schleife probleme...
edit: ups sry für doppelpost...
-
Achso, dann kann er in der For Schleife das schön geordnet machen mit:
For $x=1 to 100
guictrlcreatelabel("",30,($x*20-10),50,10)
Next -
um das gehts doch jetz garnich mehr.
er wills halt so nich machen...@NoName: beschreib doch bitte nochmal kurz und bündig den problem, sonst kommen wir hier nie weiter.
und bitte mit allen daten die wir brauchen -
Die GUI und alle Controls existieren schon. Sie haben ihre festen Positionen, die sich nicht in einer Schleife rekonstuieren lassen.
Mir bleibt wohl nur übrig, alle Handles im Array zu speichern.
Danke für die gute Unterstützung^^ -