Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Grid1.DeleteAllRows gives compliation error
Thu, Jan 24 2013 11:33 AMPermanent Link

Claudia Borsel

Hi,

thanks for the update 1.01b5 !

Just tried the new procedure Grid1.DeleteAllRows, but I get
[Error] Unit1.wbs (198,10): There is no function or procedure declaration that matches the DeleteAllRows() reference

The code looks like:
  rowcounter := Grid1.RowCount;
  //for i:= 0 to rowcounter-1 do
  //   Grid1.DeleteRow(rowcounter-i-1);
  Grid1.DeleteAllRows; // new command in v1.01.b5

In the file:
ElevateWebBuilder\framework\webctrls.wbs
I see, that DeleteAllRows is actually implemented, but somehow the compiler still complains.
Thu, Jan 24 2013 11:53 AMPermanent Link

Uli Becker

Claudia,

> In the file:
> ElevateWebBuilder\framework\webctrls.wbs
> I see, that DeleteAllRows is actually implemented, but somehow the
compiler still complains.

I just tried it with the new build - no problems.
Can it be that you have an old webctrls.wbs in your search path
(Environment Options | Framework | Framework Paths) ?

Uli



Thu, Jan 24 2013 12:05 PMPermanent Link

Claudia Borsel

Yes of course, that was the problem. Thanks a lot.
It was still pointing to the old Trial-version in the Trial-Path.

Even after setting the path correctly, the settings file got inconsistent:
C:\Users\xxx\AppData\Local\Elevate Software\Elevate Web Builder\ewbide.ini
...
Framework Path=C:\sw\dev\ElevateWebBuilderTrial\framework
Framework Paths="C:\sw\dev\ElevateWebBuilder\framework"
...

so I deleted the file completely, then it was re-created upon next startup, and now correct:
...
Framework Path=C:\sw\dev\ElevateWebBuilder\framework
Framework Paths="C:\sw\dev\ElevateWebBuilder\framework"
...

Thanx again for the fast reply.
Fri, Jan 25 2013 11:15 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Claudia,

<< Even after setting the path correctly, the settings file got
inconsistent:
C:\Users\xxx\AppData\Local\Elevate Software\Elevate Web Builder\ewbide.ini
..
Framework Path=C:\sw\dev\ElevateWebBuilderTrial\framework
Framework Paths="C:\sw\dev\ElevateWebBuilder\framework" >>

That's normal - the Framework Path is only for internal use and will get
updated if you modify the framework paths in the Environment Options.  They
key configuration item is the Framework Paths - it is what is used for
finding the correct framework units.

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com
Image