Gioking Posted September 8, 2007 Share Posted September 8, 2007 (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 skin1 $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)WEndFunc Hello() MsgBox(64, "XSkin", "Test Button 1", 3)EndFunc Edited September 8, 2007 by Gioking Link to comment Share on other sites More sharing options...
Valuater Posted September 8, 2007 Share Posted September 8, 2007 For a beginner like yourself, it may be to your advantage to use EzSkinlocated here ( button pics are included )http://www.autoitscript.com/forum/index.ph...amp;showfile=458) Link to comment Share on other sites More sharing options...
Gioking Posted September 8, 2007 Author Share Posted September 8, 2007 For a beginner like yourself, it may be to your advantage to use EzSkinlocated here ( button pics are included )http://www.autoitscript.com/forum/index.ph...amp;showfile=458)Thank you very muchGioking Link to comment Share on other sites More sharing options...
Valuater Posted September 8, 2007 Share Posted September 8, 2007 Thank you very muchGiokingLet me know if that worked for you, and if it was "easy" enoughthx8) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now