Jump to content

xskin question


autosc
 Share

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

Link to comment
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- #
Link to comment
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)

NEWHeader1.png

Link to comment
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 ...
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...