SinSoul 0 Posted June 5, 2011 Share Posted June 5, 2011 Forgive me to bother you, but I have stuck on several problems =(First: I got about 50 buttons in my program, generated by for statement(made mostly for styling checkboxes), do I have to create function for each button? Or is there another "Easier way"? ._. I'm asking this, since xSkin buttons doesn't send GUIMsg, it has it's own function.Second:#Include <XSkin.au3> ; folder of skin $Skin_Folder = @ScriptDir & "\Skin" $XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $Skin_Folder) $button_1 = XSkinButton("Button 1", 145, 100, 100, 35, "Hello") GUISetState() While 1 MouseOver(1) ;makes the button flash on mouseover Sleep(10) WEnd Func Hello() MsgBox(64, "XSkin", "Test Button 1", 3) EndFuncButton isn't styled, I mean it is default view. I've put button images to my skin folder and nothing. Where have I gone wrong? Thank you in advance.Here's not working button:And here's how it supposed to look: Link to post Share on other sites
SinSoul 0 Posted June 5, 2011 Author Share Posted June 5, 2011 (edited) Fixed both problems with _ControlHover(). If someone need the code, reply to the topic. Can't add it right now, since it's not finished Edited June 5, 2011 by SinSoul Link to post Share on other sites
Valuater 138 Posted June 5, 2011 Share Posted June 5, 2011 (edited) Actually, if you hooked XSkin and ControlHover() together, that is exactly what I did with EzSkin.au3 This also has numerous button choices along with all the original skin choices too 8) Edited June 5, 2011 by Valuater Link to post Share on other sites
SinSoul 0 Posted June 5, 2011 Author Share Posted June 5, 2011 Actually, if you hooked XSkin and ControlHover() together, that is exactly what I did with EzSkin.au3This also has numerous button choices along with all the original skin choices too8)I know, thank you for the link =) but ezSkin has several problems, for which I can't find solution. The problem is when I open any secondary gui button effect in ezskin stops working =( also ezskin doesn't have gui fadeout on inactive effect or does it? o_O And laststly, ezskin doesn't have such awesome tray message =( but in any case, you did a great job. Really appretiated, because I was using ezskin, since I made my first prog =D just want to make it more dynamic(for e.g. to change skin folder) Link to post Share on other sites
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