Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread Invalid Argument line 797
Fri, Aug 23 2013 7:53 PMPermanent Link

Mike

consultant

Hello, I added an image control to my main form.   When i try to run the
app from within the ide, i get the error Invalid argument line 797.

When i remove the image the apps runs fine again from the ide.

it runs fine with or without the image if i dont run in the ide.

Here's a screenshot of that line of code:

https://dl.dropboxusercontent.com/u/6595319/Screen%20Shot%202013-08-23%20at%207.50.37%20PM.png
Fri, Aug 23 2013 8:04 PMPermanent Link

Mike

consultant

On 8/23/13 7:53 PM, Mike Margerum wrote:
> Hello, I added an image control to my main form.   When i try to run the
> app from within the ide, i get the error Invalid argument line 797.
>
> When i remove the image the apps runs fine again from the ide.
>
> it runs fine with or without the image if i dont run in the ide.
>
> Here's a screenshot of that line of code:
>
> https://dl.dropboxusercontent.com/u/6595319/Screen%20Shot%202013-08-23%20at%207.50.37%20PM.png
>

I think the error is occurring in IE 10.  Works in chrome. im assuming
EWB is using ie 10 in the ide.
Mon, Aug 26 2013 11:35 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mike,

<< When i remove the image the apps runs fine again from the ide. >>

This is a bug in the bounds handling for the TImage component.  I should
have a fix available this week, but for now just make sure that the Center
property is True and that should resolve the problem.

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

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Aug 26 2013 3:33 PMPermanent Link

Mike

consultant

On 8/26/13 11:35 AM, Tim Young [Elevate Software] wrote:
> Mike,
>
> << When i remove the image the apps runs fine again from the ide. >>
>
> This is a bug in the bounds handling for the TImage component.  I should
> have a fix available this week, but for now just make sure that the
> Center property is True and that should resolve the problem.
>
> If you have any other questions, please let me know.
>
> Tim Young
> Elevate Software
> www.elevatesoft.com
Got it.  thanks
Tue, Sep 3 2013 10:43 AMPermanent Link

Uli Becker

Tim,

> This is a bug in the bounds handling for the TImage component.  I should
> have a fix available this week, but for now just make sure that the
> Center property is True and that should resolve the problem.

My applications have lots of images and the all don't run with IE8 any
more. I tried to change all the "center" property of all Image
components - but I didn't catch them all.

Do you have a fix for the moment?

Uli
Tue, Sep 3 2013 12:00 PMPermanent Link

Uli Becker

   TImage = class(TControl)
      private
         FImage: THTMLImageElement;
         FLoaded: Boolean;
         FAutoSize: Boolean;
         FCenter: Boolean=true;  <---

Setting FCenter to true in WebCtrls seems to do it for the moment.

Uli
Tue, Sep 3 2013 1:43 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< Do you have a fix for the moment? >>

http://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=3271#3271

And, for the record, yes, the compiler in the upcoming build now catches
this and displays a warning.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Sep 3 2013 1:45 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< And, for the record, yes, the compiler in the upcoming build now catches
this and displays a warning. >>

Forgot the smiley:  Smile

Tim Young
Elevate Software
www.elevatesoft.com
Image