Jump to content
Sign in to follow this  
Valuater

XSkin.au3... Skin your GUI

Recommended Posts

BTW...

1

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

2

strange how your code looks in my responce

3

Welcome

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

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)

...

$color is the color of the text... try this for red text

$Cancel = _HoverButton("Cancel", 59, 325, 230, 30, 0xff0000)

8)


NEWHeader1.png

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

I have now tried numerous ideas... none worked...so

Sorry, there is no disable action for the controls

XSkin buttons do have a disable function ( original non-pic buttons )

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

Skins.zip doesn't seem to work...

(found xskins.zip in the downloads) :)

Edited by BackStabbed

tolle indicium

Share this post


Link to post
Share on other sites

XSkin doesnt work on 3.2.60 :) Just when I decide to use it ;)

I get an error:

The $XSkin_Folder was not found.

Xskin works fine. That is an error on your part!

Be sure to correctly define where the skin/pic folder is located

8)


NEWHeader1.png

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

NEWHeader1.png

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)


NEWHeader1.png

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...