FMS Posted April 27, 2011 Share Posted April 27, 2011 Seems realy nice this download EZskin but call me a noob when i say : i just treid out ezskin and got the files but how do i put it in a script if i wrote this script earlier:S (just as i told before just call me a NOOB) is it just some edit in the compiler or in the script? This is what i had expandcollapse popup#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <EzSkin.au3> $Form1 = GUICreate("Form1", 280, 270, 192, 114) $Label1 = GUICtrlCreateLabel("IFIX geeft aan", 8, 15, 74, 25) $Label2 = GUICtrlCreateLabel("IFIX moet zijn", 8, 45, 74, 25) $Label3 = GUICtrlCreateLabel("Het verschil is", 8, 75, 74, 25) $Label4 = GUICtrlCreateLabel("EGU HIGH", 8, 105, 74, 25) $Label5 = GUICtrlCreateLabel("EGU LOW", 8, 135, 74, 25) $Label6 = GUICtrlCreateLabel("EGU HIGH", 8, 165, 74, 25) $Label7 = GUICtrlCreateLabel("EGU LOW", 8, 195, 74, 25) $Input1 = GUICtrlCreateInput("", 120, 20, 145, 21) $Input2 = GUICtrlCreateInput("", 120, 50, 145, 21) $Input3 = GUICtrlCreateInput("", 120, 80, 145, 21) $Input4 = GUICtrlCreateInput("3276.70", 120, 110, 145, 21) $Input5 = GUICtrlCreateInput("-3276.70", 120, 140, 145, 21) $Input6 = GUICtrlCreateInput("", 120, 170, 145, 21) $Input7 = GUICtrlCreateInput("", 120, 200, 145, 21) $Button1 = GUICtrlCreateButton("Cancel", 24, 230, 97, 25, $WS_GROUP) $Button2 = GUICtrlCreateButton("Generate", 147, 230, 97, 25, $WS_GROUP) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 Exit Case $Button2 GUICtrlSetData($Input3, GUICtrlRead($Input1) - GUICtrlRead($Input2)) GUICtrlSetData($Input6, GUICtrlRead($Input4) + GUICtrlRead($Input3)) GUICtrlSetData($Input7, GUICtrlRead($Input5) + GUICtrlRead($Input3)) EndSwitch WEnd This is what i want (or something like this because still got errors :S) expandcollapse popup#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <EzSkin.au3> $EzGUI = EzSkinGUICreate("MyEzSkinDemo",280, 270, 192, 114) ;$Form1 = GUICreate("Form1", 280, 270, 192, 114) $Label1 = GUICtrlCreateLabel("IFIX geeft aan", 8, 15, 74, 25) $Label2 = GUICtrlCreateLabel("IFIX moet zijn", 8, 45, 74, 25) $Label3 = GUICtrlCreateLabel("Het verschil is", 8, 75, 74, 25) $Label4 = GUICtrlCreateLabel("EGU HIGH", 8, 105, 74, 25) $Label5 = GUICtrlCreateLabel("EGU LOW", 8, 135, 74, 25) $Label6 = GUICtrlCreateLabel("EGU HIGH", 8, 165, 74, 25) $Label7 = GUICtrlCreateLabel("EGU LOW", 8, 195, 74, 25) $Input1 = GUICtrlCreateInput("", 120, 20, 145, 21) $Input2 = GUICtrlCreateInput("", 120, 50, 145, 21) $Input3 = GUICtrlCreateInput("", 120, 80, 145, 21) $Input4 = GUICtrlCreateInput("3276.70", 120, 110, 145, 21) $Input5 = GUICtrlCreateInput("-3276.70", 120, 140, 145, 21) $Input6 = GUICtrlCreateInput("", 120, 170, 145, 21) $Input7 = GUICtrlCreateInput("", 120, 200, 145, 21) ;$Button1 = GUICtrlCreateButton("Cancel", 24, 230, 97, 25, $WS_GROUP) ;$Button2 = GUICtrlCreateButton("Generate", 147, 230, 97, 25, $WS_GROUP) $Button1 = EzSkinButton("Cancel", 24, 230, 97, 25,$WS_GROUP) ;, $font_color) $Button2 = EzSkinButton("Generate", 147, 230, 97, 25,$WS_GROUP) ;, $font_color) GUISetState(@SW_SHOW) While 1 EzSkinOver() $nMsg = GUIGetMsg() If $nmsg = $EzIcon[1] Then Exit If $nmsg = $EzIcon[2] Then GuiSetstate(@SW_MINIMIZE, $EzGUI) If $nmsg = $Button2 GUICtrlSetData($Input3, GUICtrlRead($Input1) - GUICtrlRead($Input2)) GUICtrlSetData($Input6, GUICtrlRead($Input4) + GUICtrlRead($Input3)) GUICtrlSetData($Input7, GUICtrlRead($Input5) + GUICtrlRead($Input3)) EndIf WEnd I think that i'm doing something wrong but dont know what :S as finishing touch god created the dutch Link to comment Share on other sites More sharing options...
FMS Posted April 27, 2011 Author Share Posted April 27, 2011 i noticed know this is the wrong place.... i'm making a new post on the GUI support as finishing touch god created the dutch Link to comment Share on other sites More sharing options...
shamike Posted August 4, 2012 Share Posted August 4, 2012 here you just need to reposition the label and buttonexpandcollapse popup#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <EzSkin.au3> $EzGUI = EzSkinGUICreate("MyEzSkinDemo",280, 270) ;$Form1 = GUICreate("Form1", 280, 270, 192, 114) $EzIcon = EzSkinIcon($EzGUI) $Label1 = GUICtrlCreateLabel("IFIX geeft aan", 8, 15, 74, 25) $Label2 = GUICtrlCreateLabel("IFIX moet zijn", 8, 45, 74, 25) $Label3 = GUICtrlCreateLabel("Het verschil is", 8, 75, 74, 25) $Label4 = GUICtrlCreateLabel("EGU HIGH", 8, 105, 74, 25) $Label5 = GUICtrlCreateLabel("EGU LOW", 8, 135, 74, 25) $Label6 = GUICtrlCreateLabel("EGU HIGH", 8, 165, 74, 25) $Label7 = GUICtrlCreateLabel("EGU LOW", 8, 195, 74, 25) $Input1 = GUICtrlCreateInput("", 120, 20, 145, 21) $Input2 = GUICtrlCreateInput("", 120, 50, 145, 21) $Input3 = GUICtrlCreateInput("", 120, 80, 145, 21) $Input4 = GUICtrlCreateInput("3276.70", 120, 110, 145, 21) $Input5 = GUICtrlCreateInput("-3276.70", 120, 140, 145, 21) $Input6 = GUICtrlCreateInput("", 120, 170, 145, 21) $Input7 = GUICtrlCreateInput("", 120, 200, 145, 21) ;$Button1 = GUICtrlCreateButton("Cancel", 24, 230, 97, 25, $WS_GROUP) ;$Button2 = GUICtrlCreateButton("Generate", 147, 230, 97, 25, $WS_GROUP) $Button1 = EzSkinButton("Cancel", 24, 230, 97, 25,$WS_GROUP) ;, $font_color) $Button2 = EzSkinButton("Generate", 147, 230, 97, 25,$WS_GROUP) ;, $font_color) GUISetState(@SW_SHOW) While 1 EzSkinOver() $nMsg = GUIGetMsg() If $nMsg = $EzIcon[1] Then Exit If $nMsg = $EzIcon[2] Then GuiSetstate(@SW_MINIMIZE, $EzGUI) Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button2 GUICtrlSetData($Input3, GUICtrlRead($Input1) - GUICtrlRead($Input2)) GUICtrlSetData($Input6, GUICtrlRead($Input4) + GUICtrlRead($Input3)) GUICtrlSetData($Input7, GUICtrlRead($Input5) + GUICtrlRead($Input3)) EndSwitch WEnd Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 4, 2012 Moderators Share Posted August 4, 2012 FMS,i'm making a new post on the GUI supportPlease do not do that - just PM a Mod to move the thread. Like this! M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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