prazetto Posted December 15, 2012 Posted December 15, 2012 (edited) UDF provide graphical control based on static class. Button Progressbar v1.01. Fix on Syntax Error CheckingDownload Choose server where you will download: fxControl.zip - code.google.com (renamed from zettoControl_v1.02.zip) fxControl.zip - autoitscript.com The next version of this UDF will named as fxControl (Control Framework). ScreenshotSample Application using zettoControlZ-Compressor [link fixed] Clean PC Clean PC Source available in spoiler below 'Codice Sorgente' text, in that page. but download link: dead. Its still useful because at least the source are here while you able replace image file with what you have. zettoControl_v1.02.zip Edited March 16, 2014 by prazetto # Button. Progressbar - Graphical AutoIt3 Control (UDF) # GTK on AutoIt3 - GTK+ Framework | Widgets cig computer instruction graphics http://code.hstn.me
wakillon Posted December 15, 2012 Posted December 15, 2012 i wanted to try your examples but... C:UsersadminDesktopzettoControl_v1.00zettoControl.au3(1713,100) : ERROR: _zettoscript_GetValueEx() called with Const or expression on ByRef-param(s). $value = _zettoscript_GetValueEx(StringTrimLeft($button[$loop],StringInStr($button[$loop],':'))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files (x86)\AutoIt3\Include\zettoScript.au3(364,43) : REF: definition of _zettoscript_GetValueEx(). Func _zettoscript_GetValueEx(ByRef $param) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:UsersadminDesktopzettoControl_v1.00zettoControl.au3(1943,102) : ERROR: _zettoscript_GetValueEx() called with Const or expression on ByRef-param(s). $value = _zettoscript_GetValueEx(StringTrimLeft($caption[$loop],StringInStr($caption[$loop],':'))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files (x86)\AutoIt3\Include\zettoScript.au3(364,43) : REF: definition of _zettoscript_GetValueEx(). Func _zettoscript_GetValueEx(ByRef $param) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:UsersadminDesktopzettoControl_v1.00zettoControl.au3(1976,98) : ERROR: _zettoscript_GetValueEx() called with Const or expression on ByRef-param(s). $value = _zettoscript_GetValueEx(StringTrimLeft($color[$loop],StringInStr($color[$loop],':'))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files (x86)\AutoIt3\Include\zettoScript.au3(364,43) : REF: definition of _zettoscript_GetValueEx(). Func _zettoscript_GetValueEx(ByRef $param) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:UsersadminDesktopzettoControl_v1.00zettoControl.au3(2010,40) : ERROR: _parser_default() previously called with Const or expression on ByRef param(s). Func _parser_default(ByRef $v,ByRef $n) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:UsersadminDesktopzettoControl_v1.00zettoControl.au3(1992,66) : REF: first call to _parser_default(). _parser_default($skin[$__ZETTO_SKIN_BUTTON_TEXT_FORMAT__],0x0000) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:UsersadminDesktopzettoControl_v1.00zettoControl.au3(2237,37) : ERROR: __zetto_ButtonXWND() previously called with Const or expression on ByRef param(s). Func __zetto_ButtonXWND(ByRef $xwnd) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:UsersadminDesktopzettoControl_v1.00zettoControl.au3(1449,56) : REF: first call to __zetto_ButtonXWND(). Local $lfoc = __zetto_ButtonXWND(_WinAPI_GetFocus()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:UsersadminDesktopzettoControl_v1.00ExampleExample.Progressbar.Example2.au3 - 5 error(s), 0 warning(s) !>09:59:22 AU3Check ended. Press F4 to jump to next error.rc:2 >Exit code: 0 Time: 0.410 AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
PhoenixXL Posted December 15, 2012 Posted December 15, 2012 (edited) many errors in your UDF try placing at the top of your script the following "#AutoIt3Wrapper_AU3Check_Parameters=-w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7" and then execute it to see the errors Edited December 15, 2012 by PhoenixXL My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.
wakillon Posted December 16, 2012 Posted December 16, 2012 Have tried your updated zettoControl_v1.02 and it works now. Thanks to share. AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
PhoenixXL Posted January 12, 2013 Posted January 12, 2013 Some Errors I found in your current Version Example.All.SetState.au3 - Progress never shows up Example.All.CtrlDelete - Del Btn causes an error for out of bounds of array Example.Progressbar.Example2 - I dont find any progress in it Rest the UDF is working now and the graphics are cool My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.
FaridAgl Posted January 12, 2013 Posted January 12, 2013 Well, it's great. Just one thing (Which I have noticed). You have declared Global $NULL Which is a good trick, just want to say, in this mode $NULL is an empty string, you can simple check it with VarGetType($NULL) If you want it to be an Int32 0 like the actual NULL in for example C++, it's better to declare it like this: Global Const $NULL = 0 Or even: Global Const $NULL = Int(0) Cheers. http://faridaghili.ir
Mun Posted January 26, 2013 Posted January 26, 2013 Is there anyway to run the embed image in dll or resource?
Mun Posted February 3, 2013 Posted February 3, 2013 Thanks. I'm still unsure what you mean with enigmaprotector had to do with the question, though?
prazetto Posted December 21, 2013 Author Posted December 21, 2013 Add an another example # Button. Progressbar - Graphical AutoIt3 Control (UDF) # GTK on AutoIt3 - GTK+ Framework | Widgets cig computer instruction graphics http://code.hstn.me
mesale0077 Posted January 6, 2014 Posted January 6, 2014 Clean PC dowland link broken ,new link please https://www.dropbox.com/s/3fhe6s8oatz75bc/Software.zip this link broken
prazetto Posted January 11, 2014 Author Posted January 11, 2014 Clean PC Source available in spoiler below 'Codice Sorgente' text, in that page. but download link: dead. Its still useful because at least the source are here while you able replace image file with what you have. # Button. Progressbar - Graphical AutoIt3 Control (UDF) # GTK on AutoIt3 - GTK+ Framework | Widgets cig computer instruction graphics http://code.hstn.me
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