autosc Posted January 25, 2007 Posted January 25, 2007 can i use this script with xskin ProgressOn("Progress Meter", "Increments every second", "0 percent") For $i = 10 to 100 step 10 sleep(1000) ProgressSet( $i, $i & " percent") Next ProgressSet(100 , "Done", "Complete") sleep(500) ProgressOff() 2. XSkinMsgBoxOK($MBTitle, $MBText) How can i change the messages on the buttons "Ok " and "cancel ", ?
AzKay Posted January 25, 2007 Posted January 25, 2007 1 ) Yes, but instead of having Progress* functions, Make the GUI, using koda, or whatnot, then change the functions in the code, eg, GUICreate(), GUICtrlCreateProgress() to XSkin* functions. 2 ) Study XSkinMsgBoxOK() in the XSkin.au3, Make the changes yourself. Isnt too hard # MY LOVE FOR YOU... IS LIKE A TRUCK- #
Valuater Posted January 25, 2007 Posted January 25, 2007 Like AzKay said... #1 You would need to create an XSkin GUI with a Progress #include <XSkin.au3> ; folder of skin $Skin_Folder = @ScriptDir & "\Skins\Black-Yellow" $XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $Skin_Folder) $Progress1 = XSkinProgress(90, 140, 200, 20) ; mouse-over color automatic GUICtrlSetData($Progress1,50) GUISetState() While 1 Sleep(10) WEnd and #2 you would need to change the text inside XSkin.au3 for those message box buttons 8)
autosc Posted January 25, 2007 Author Posted January 25, 2007 Like AzKay said... #1 You would need to create an XSkin GUI with a Progress #include <XSkin.au3> ; folder of skin $Skin_Folder = @ScriptDir & "\Skins\Black-Yellow" $XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $Skin_Folder) $Progress1 = XSkinProgress(90, 140, 200, 20) ; mouse-over color automatic GUICtrlSetData($Progress1,50) GUISetState() While 1 Sleep(10) WEnd and #2 you would need to change the text inside XSkin.au3 for those message box buttons 8) azay it is easy .... Valuter : you would need to change the text inside XSkin.au3 for those message box buttons I assigned variables in the UDF(modified) ..like this and worked for input dialogs $OKc = "myok" $CANCELc = "mycancel" $IBText = XSkinInputBox("New Document", "Give a name for your document","") but this not worked in message dialogs . XSkinMsgBoxOK still configuring what to do ...
Valuater Posted January 25, 2007 Posted January 25, 2007 XSkinMsgBoxOK() only has one button... its "OK" remember there is XSkinMsgBox() with the two buttons ( kinda like the input box ) 8)
AzKay Posted January 25, 2007 Posted January 25, 2007 I dont understand. I know its easy. ;3 # MY LOVE FOR YOU... IS LIKE A TRUCK- #
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