Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 06:31

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Reply
 
Old   #1
 
fuso98's Avatar
 
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:
fuso98 is offline  
Old 11/05/2013, 22:03   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
If it's possible you could put a label over it.
alpines is offline  
Old 11/05/2013, 22:12   #3
 
fuso98's Avatar
 
elite*gold: 428
Join Date: Dec 2011
Posts: 2,722
Received Thanks: 2,035
Quote:
Originally Posted by alpines View Post
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"2601012025)
    
$hidelabel=GUICtrlCreateLabel("s",260,10,15,19)
    
GUICtrlSetColor(-10xF0F0F0)
    
GUICtrlSetState($hidelabel,$GUI_ONTOP
fuso98 is offline  
Old 11/05/2013, 22:51   #4
 
alpines's Avatar
 
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.
alpines is offline  
Old 11/05/2013, 23:07   #5
 
YatoDev's Avatar
 
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
YatoDev is offline  
Old 11/05/2013, 23:10   #6
 
alpines's Avatar
 
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.
alpines is offline  
Old 11/06/2013, 01:08   #7
 
YatoDev's Avatar
 
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)
YatoDev is offline  
Old 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.
berkay2578 is offline  
Old 11/06/2013, 11:44   #9
 
alpines's Avatar
 
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.
alpines is offline  
Old 11/06/2013, 13:54   #10
 
fuso98's Avatar
 
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?
fuso98 is offline  
Reply


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.