Jump to content
Sign in to follow this  
Valuater

XSkin.au3... Skin your GUI

Recommended Posts

GUICtrlSetState($Cancel , $GUI_DISABLE)

remove the +1 ( this way it disables the pic... not the label )

It doesnt work if I remove the +1, nothing happen.

If I add the + 1 it seem like the button is disabled but there's style the on event action ( the button change look when I click on it etc..)

$Button_1 = _HoverButton ("Small", 180, 80, 70, 15, $color)

huh?? :rolleyes:

The $color is the same as $XButton_Location...

$XButton_Location = @ScriptDir & "\Images\Skins\Buttons\Style_01"

Edited by J0ker

Share this post


Link to post
Share on other sites

I am sure it will work if you disable both

GUICtrlSetState($Cancel , $GUI_DISABLE)

GUICtrlSetState($Cancel +1, $GUI_DISABLE)

8)

I tried this too and only the text is disabled. The button still change color when my mouse is over it.

... :rolleyes:

Share this post


Link to post
Share on other sites

#Include <XSkin.au3> 

; folder of skin
$XSkin_Folder = @ScriptDir & "\Skins\Noir\"

$XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $XSkin_Folder)

GUISetState()

While 1
    Sleep(10)
WEnd

It doesnt work on 3.2.7.0 or 3.2.6.0. The directory is correct.

Whoops, my bad. The dir was wrong. Forgot a \

Although XSkin wont work if there are still controls that are not skinned.

Edited by JamesB

Share this post


Link to post
Share on other sites

#Include <XSkin.au3> 

; folder of skin
$XSkin_Folder = @ScriptDir & "\Skins\Noir\"

$XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $XSkin_Folder)

GUISetState()

While 1
    Sleep(10)
WEnd

It doesnt work on 3.2.7.0 or 3.2.6.0. The directory is correct.

Whoops, my bad. The dir was wrong. Forgot a \

Although XSkin wont work if there are still controls that are not skinned.

There is no code included that shows the controls you are talking about

???

8)

PS... Glad you found your first problem

Edited by Valuater

Share this post


Link to post
Share on other sites

#Include <XSkin.au3>

; folder of skin
$XSkin_Folder = @ScriptDir & "\Skin\Noir\"

$XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $XSkin_Folder)
GUICtrlCreateButton("TEST", 1, 10)

GUISetState()

While 1
    Sleep(10)
WEndoÝ÷ Ù+kjx¶­Âä±»­Â+a'(uë$yâ
'¶P¬jz ¡hZ¶X¦Ö­ìj·­êÞHv'ZºÚ"µÍÒÚ[ÝZPÜX]JUKÒQRQÒKÒÒS

Edited by JamesB

Share this post


Link to post
Share on other sites

Nice! Thanks Val. You should add an option in the Skin.dat file to specifiy round corners.

Welcome!!!

The "round corners" are created with the GUI

$XSkinGui = XSkinGUICreate( $guiTitle, $guiWidth, $guiHeight, $Skin_Folder, $guiHeader, $guiCorners)

or $XSkinGui = XSkinGUICreate( $guiTitle, $guiWidth, $guiHeight, $Skin_Folder) ; uses defaults

8)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...