Jump to content

Recommended Posts

Posted

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

Posted

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:

Posted (edited)

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

  • 1 month later...
Posted (edited)

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

(found xskins.zip in the downloads) :)

Edited by BackStabbed

tolle indicium

  • 2 weeks later...
Posted

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

Posted (edited)

#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
Posted (edited)

#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

Posted (edited)

#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
Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...