Jump to content

Recommended Posts

UDF provide graphical control based on static class.

Button
Progressbar

v1.01. Fix on Syntax Error Checking

Download

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


Screenshot

post-60356-0-09092200-1355553892_thumb.p
post-60356-0-02072900-1355553901_thumb.p
post-60356-0-78441500-1355553922_thumb.p

Sample

Application using zettoControl

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

cleandw.jpg

zettoControl_v1.02.zip

Edited by prazetto

# Button. Progressbar - Graphical AutoIt3 Control (UDF) # GTK on AutoIt3 - GTK+ Framework | Widgets

Link to comment
Share on other sites

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.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 4 weeks later...

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 10 months later...
  • 3 weeks later...

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

×
×
  • Create New...