|
You last visited: Today at 06:31
Advertisement
How to hide the box of checkbox
Discussion on How to hide the box of checkbox within the AutoIt forum part of the Coders Den category.
11/05/2013, 22:01
|
#1
|
elite*gold: 428
Join Date: Dec 2011
Posts: 2,722
Received Thanks: 2,035
|
How to hide the box of checkbox
Hi guys, i'm making an UDF to make GUI like Java style. I made GUI, buttons and now i'm making checkbox/radiobox. How can i hide the checkbox box and make visible only the image of java style checkbox?
Here a picture:
|
|
|
11/05/2013, 22:03
|
#2
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
If it's possible you could put a label over it.
|
|
|
11/05/2013, 22:12
|
#3
|
elite*gold: 428
Join Date: Dec 2011
Posts: 2,722
Received Thanks: 2,035
|
Quote:
Originally Posted by alpines
If it's possible you could put a label over it.
|
Yes i tryed it, but the when mouse go over checkbox label go under it.
PHP Code:
#include <GUIConstantsEx.au3>
#include <GuiButton.au3>
#include <GuiImageList.au3>
GuiCreate("Example...")
$chk = GUICtrlCreateCheckbox("Check Button1", 260, 10, 120, 25)
$hidelabel=GUICtrlCreateLabel("s",260,10,15,19)
GUICtrlSetColor(-1, 0xF0F0F0)
GUICtrlSetState($hidelabel,$GUI_ONTOP)
|
|
|
11/05/2013, 22:51
|
#4
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
You could probably use $BS_PUSHLIKE as Styles if you want to hide it, choose a transparent color and it's ok.
|
|
|
11/05/2013, 23:07
|
#5
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
use a label with a click event not a real checkbox
|
|
|
11/05/2013, 23:10
|
#6
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
Dann musst du den animierten Effekt aber nachfügen und das ist ein bisschen umständlicher.
|
|
|
11/06/2013, 01:08
|
#7
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
hmm om than better :
Make a label and a picture if clicked on picture or label -> checkbox = checked (use the picure of a checked box and a not checked)
|
|
|
11/06/2013, 05:57
|
#8
|
elite*gold: 15
Join Date: Aug 2012
Posts: 3,041
Received Thanks: 6,397
|
Or just use xp styles for autoit.. google it, download it, modify it, use it.
|
|
|
11/06/2013, 11:44
|
#9
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
Or use SkinCrafter for AutoIt, it's much better and you can change the whole theme with just 1 DLL and 1 Skin.
|
|
|
11/06/2013, 13:54
|
#10
|
elite*gold: 428
Join Date: Dec 2011
Posts: 2,722
Received Thanks: 2,035
|
I tryed skincrafter, but it don't work for me  fluttershy can you come on skype?
|
|
|
 |
Similar Threads
|
Checkbox
09/14/2013 - .NET Languages - 7 Replies
Guten Tag epvpers,
ich möchte wenn man den Hacken in die Checkbox reinsetzt das dann die ListBox sichtbar ist.
Kein Problem:
ListBox.Visible = True
Aber wie macht man das wenn der Hacken raus ist, das dann auch die Listbox weg ist?
2.Frage:
Ich habe in Visual Basic mehrere Fonts für die Labels.
Mein Freund öffnet das Programm und er sieht die Font nicht.
Ganz einfach: Er hat die nicht!
|
ListView - Checkbox
05/30/2013 - AutoIt - 5 Replies
Abend :)
Würde gerne wissen ob es möglich ist eine Checkbox in der ListView auf OnCheck/Uncheck zu prüfen, also das eine Aktion ausgeführt wird wenn Checkbox XX checked ist bzw. wenn sie unchecked ist.
Das einzige was ich gefunden habe ist das Prüfen aller checkboxen und nicht auf OnCheck (permanent oder per Button)
_GUICtrlListView_GetItemChecked
|
Problem mit Checkbox
08/06/2011 - AutoIt - 12 Replies
Hallo Leute,
ich hab ein Programm geschrieben, dass die aktuelle IP alle x Minuten ausließt und in einer txt speichert.
Es soll auch im Hintergrund gestartet werden können, aber ich hab Probleme mit der Checkbox: sie verändert sich nicht, wenn man draufklickt...
#include <ButtonConstants.au3>
#include "INet.au3"
|
Checkbox Hilfe!
09/11/2010 - AutoIt - 6 Replies
Hallo ich brauche schnell eure hilfe...
Ich schreibe einen Trainer und möchte,
dass wenn z.B.
$Checkbox14 angekreuzt ist,
$Checkbox15 nicht angekreuzt ist.
und wenn dann
|
All times are GMT +1. The time now is 06:32.
|
|