Jump to content
Sign in to follow this  
autosc

xskin question

Recommended Posts

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 ", ?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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 ...

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  

×
×
  • Create New...