[Lazarus] Status of toolkit for ExtPascal // One error here.

Phil Hess macpgmr at fastermac.net
Mon Dec 14 18:33:37 CET 2009


Ah yes, it looks like something has changed with 3.0.3 in the Ext JS docs that ExtToPascal.dpr processes to create the ExtPascal wrapper classes.

Could you:

- For now fall back to 3.0.0.

- Post something on ExtPascal forum to alert Wanderlan so he can maybe workaround this in ExtToPascal.dpr?

Thanks.

-Phil


----- "Osvaldo Filho" <arquivostcf at gmail.com> wrote:

> 3.0.3
> from here: http://www.extjs.com/products/extjs/download.php
> ======================
> Ext JS 3.0.3 Public Release
> Ext JS 3.0.3
> 
> Includes full source code, build, HTML documentation and samples.
> Released on July 6th, 2009.
> 	Download
> 
> Change Log
> Ext JS 3.0.0 API Documentation
> 
> Online API documentation
> 	View
> Ext.Direct Pack
> 
> A collection of server-side Ext.Direct implementations.
> ==================================
> 
> 2009/12/14 Phil Hess <macpgmr at fastermac.net>:
> > What version of Ext JS did you create the ExtPascal classes from?
> >
> > Thanks.
> >
> > -Phil
> >
> > ----- "Osvaldo Filho" <arquivostcf at gmail.com> wrote:
> >
> >> Thanks for your replay.
> >>
> >> Environment:
> >> - Windows XP
> >> - Extpascal and toolkit from subversion
> >> - Lazarus 0.9.29 and fpc 2.3.1
> >>
> >>
> >> 2009/12/14 Phil Hess <macpgmr at fastermac.net>:
> >> > What version of ExtPascal are you using? The declaration of Un
> does
> >> not look like mine:
> >> >
> >> >    function Un(EventName : string; Fn : TExtFunction; Scope :
> >> TExtObject = nil) : TExtFunction;
> >> >
> >> > Thanks.
> >> >
> >> > -Phil
> >> >
> >> > ----- "Osvaldo Filho" <arquivostcf at gmail.com> wrote:
> >> >
> >> >> Could you help-me?
> >> >>
> >> >> - Erro ExtPascal
> >> >> ========
> >> >>     function Un(EventName : string; Fn : TExtFunction; Scope :
> >> >> TExtObject) : TExtFunction;
> >> >> ========
> >> >>     Un('DOMActivate', Ajax('DOMActivate', ['E', '%0.nm','T',
> >> >> '%1.nm','O', '%2.nm'], true));
> >> >> ========
> >> >>
> >> >> "Compiling package Orpheus 0.2.2" completed
> >> >> "Compiling package ExtP_Grid 0.1.2" completed
> >> >> "Compiling package ExtP_Ctrls 0.1.2" completed
> >> >> Converted by FmToExtP: C:\d_e\componentes\ExtP
> >> >> Toolkit\grid_example\mygrid1.lpr
> >> >> "Executing command before" completed
> >> >> C:\d_e\extpascal\Ext.pas(43,27) Hint: Type
> "TExtDirectTransaction"
> >> >> redefinition
> >> >> C:\d_e\extpascal\Ext.pas(4013,91) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4021,99) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4029,117) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4037,89) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4045,91) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4053,99) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4061,123) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4069,97) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4077,121) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4085,105) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4093,79) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4101,77) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4109,81) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4117,79) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4125,91) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4133,85) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4141,79) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4149,79) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4157,83) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4165,85) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4173,79) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4181,77) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4189,87) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4197,89) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4205,89) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4213,87) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4221,85) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4229,87) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4237,83) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4245,79) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4253,81) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4261,81) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4269,81) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4277,81) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(4285,81) Error: Wrong number of
> >> parameters
> >> >> specified for call to "Un"
> >> >> C:\d_e\extpascal\Ext.pas(452,14) Hint: Found declaration:
> >> >>
> TExtElement.Un(AnsiString,TExtFunction,TExtObject):TExtFunction;
> >> >> C:\d_e\extpascal\Ext.pas(13508) Fatal: There were 35 errors
> >> compiling
> >> >> module, stopping
> >> >>
> >> >>
> >> >> 2009/12/6 Phil Hess <macpgmr at fastermac.net>:
> >> >> > I've added grid design controls for the ExtP Toolkit add-on
> for
> >> >> ExtPascal. Here are some screenshots:
> >> >> >
> >> >> >
> >> >>
> >>
> http://web.fastermac.net/~MacPgmr/ExtPascal/ExtPascal_Grid_in_IDE.jpg
> >> >> >
> >> >> >
> >> >>
> >>
> http://web.fastermac.net/~MacPgmr/ExtPascal/ExtPascal_Grid_at_Runtime.jpg
> >> >> >
> >> >> >
> >> >> > A couple of other screenshots show the MultiSelect (list box)
> >> >> control in action both in the Lazarus IDE and in the browser at
> >> >> runtime:
> >> >> >
> >> >> >
> >> >>
> >>
> http://web.fastermac.net/~MacPgmr/ExtPascal/ExtPascal_MultiSelect_in_IDE.jpg
> >> >> >
> >> >> >
> >> >>
> >>
> http://web.fastermac.net/~MacPgmr/ExtPascal/ExtPascal_MultiSelect_at_Runtime.jpg
> >> >> >
> >> >> >
> >> >> > Complete documentation for the toolkit is here:
> >> >> >
> >> >> >
> >> http://web.fastermac.net/~MacPgmr/ExtPascal/ExtPToolkitStatus.html
> >> >> >
> >> >> >
> >> >> > Source code is available in a .zip file from here:
> >> >> >
> >> >> > http://web.fastermac.net/~MacPgmr/ExtPascal/
> >> >> >
> >> >> > Or you can checkout the source along with the complete
> ExtPascal
> >> >> source from Wanderlan's SVN repository:
> >> >> >
> >> >> > http://code.google.com/p/extpascal/
> >> >> >
> >> >> > Thanks.
> >> >> >
> >> >> > -Phil
> >> >> >
> >> >> > --
> >> >> > _______________________________________________
> >> >> > Lazarus mailing list
> >> >> > Lazarus at lists.lazarus.freepascal.org
> >> >> > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> >> >> >
> >> >>
> >> >> --
> >> >> _______________________________________________
> >> >> Lazarus mailing list
> >> >> Lazarus at lists.lazarus.freepascal.org
> >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> >> >
> >> > --
> >> > _______________________________________________
> >> > Lazarus mailing list
> >> > Lazarus at lists.lazarus.freepascal.org
> >> > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> >> >
> >>
> >> --
> >> _______________________________________________
> >> Lazarus mailing list
> >> Lazarus at lists.lazarus.freepascal.org
> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> >
> > --
> > _______________________________________________
> > Lazarus mailing list
> > Lazarus at lists.lazarus.freepascal.org
> > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> >
> 
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list