Sign in to follow this  
Followers 0
Gioking

How to Apply a set of images to XSkinButton ?

4 posts in this topic

#1 ·  Posted (edited)

Hi, I would understand how to apply a set of images for a button, I would add an example of code:

In this example, at row 1 I can set the skin for the Gui but how can I choice a skin for the button at row 3 of this small example ?

Thank you for your help in advance.

Gioking

-----------------------------------------------------------------------------

#Include <XSkin.au3>

; folder of skin

1 $Skin_Folder = @ScriptDir & "\Skins\Carbon"

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

3 $button_1 = XSkinButton("Button 1", 145, 100, 100, 35, "Hello")

4 GUISetState()

While 1

MouseOver() ;makes the button flash on mouseover

Sleep(10)

WEnd

Func Hello()

MsgBox(64, "XSkin", "Test Button 1", 3)

EndFunc

Edited by Gioking

Share this post


Link to post
Share on other sites



Thank you very much

Gioking

Let me know if that worked for you, and if it was "easy" enough

thx

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  
Followers 0