| |
|
|
 Thomas Freier | Bisher Tuve siempre Klassisches Designs. Nach Interruptor en X-Designs es en el "Radio Button" el Hintergrund schwarz. Yo find simplemente el Solución no. KompilierenMarcaSeparaciónDef GetSysColor(1) !"USER32","GetSysColor"
Cls GetSysColor(15)
var wahl&=Create("GroupBox",%hwnd,"",8,320,448,42)
var alle&=Create("RadioButton",wahl&,"Alle",4,16,66,16)
WaitInput
En |
|
|
| |
|
|
|
 Thomas Freier | Merkwürdig, direkt en %hwnd es alles "normal". In el "GroupBox" habe ahora una schwarzen Hintergrund. Bajo Profano 6.6 es todavía como gewünscht. |
|
|
| |
|
|
|
 Dieter Zornow | Dann lass lo doch en %Hwnd, es doch sowieso mejor, en el groupbox a legen es unüblich |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 25.08.2009 ▲ |
|
|
|
|
 Dieter Zornow | Kann media Contribución no bearbeiten, kann mich tot clic y lo kommt nichts.
En 6.6 ha lo wahrscheinlich con el SetTrueColor a tun, dass lo como todavía va |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 25.08.2009 ▲ |
|
|
|
|
 Thomas Freier | Sí, aber war no el "GroupBox" dafür pensamiento. Hier el 6él-code KompilierenMarcaSeparaciónSetTrueColor 1
Cls rgb(222,222,222)
declare button&,alle&,grup&
grup& = CreateGroupBox(%hwnd,"",10,10,200,200)
button& = Control("BUTTON","Test",$54010029,10,20,100,20,grup&,0,%hinstance,$0)
alle& = CreateRadioButton(grup&,"Alle",10,60,66,16)
WaitInput
>
|
|
|
| |
|
|
|
 Jörg Sellmeyer | Nein, el Groupbox es dafür pensamiento, el Elemente grafisch a gliedern y el Función a gruppieren. Alle Radiobuttons, el después de uno Groupbox erstellt voluntad (a a nächsten), beziehen se aufeinander. D.h.: Clic Yo el erste a, verliert una markierte otro el Markierung. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 25.08.2009 ▲ |
|
|
|
|
 Thomas Freier | Oh, como Recht du hast. Ist me, como dijo, sólo beim geänderten Designs aufgefallen. So gehts tatsächlich KompilierenMarcaSeparaciónDef GetSysColor(1) !"USER32","GetSysColor"
Cls GetSysColor(15)
declare button&,alle&,grup&,ber&,bis&,grup1&,nur&
grup& = CreateGroupBox(%hwnd,"",10,10,180,200)
alle& = CreateRadioButton(%hwnd,"Alle",30,60,86,16)
ber&=Create("RadioButton",%hwnd,"Bereich",30,90,86,16)
grup1& = CreateGroupBox(%hwnd,"",0,0,0,0)
bis&=Create("RadioButton",%hwnd,"Bereich",230,30,86,16)
nur&=Create("RadioButton",%hwnd,"Bereich",230,90,86,16)
SetCheck alle&,1
SetCheck nur&,1
while 1
WaitInput
case %key=2:break
wend
end
|
|
|
| |
|
|