Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Oops! Component name issue
Fri, May 24 2013 11:36 AMPermanent Link

Matthew Jones

Here's a nice one. Put a TEdit on a form. Edit its name, and delete it. The form
file is altered to be

 object TEWBDesignEdit
   Left = 58

instead of

 object editTitle: TEWBDesignEdit
   Left = 58

This causes the compiler to fall over in interesting ways. You do get some sort of
warning usually, but I was able to output the javascript which then has interesting
syntax errors like "$t. = null".
   
Not a show-stopper when one is aware of it, but the IDE should stop the component
name being deleted.
   
/Matthew Jones/
Mon, May 27 2013 11:33 AMPermanent Link

Paul Waegemans

IMS bvba

Avatar

I had the same problem with a TLabel.
The WBF file must been changed manually (the line n° is show in the messages area)

Paul.


(Matthew Jones) wrote:

Here's a nice one. Put a TEdit on a form. Edit its name, and delete it. The form
file is altered to be

 object TEWBDesignEdit
   Left = 58

instead of

 object editTitle: TEWBDesignEdit
   Left = 58

This causes the compiler to fall over in interesting ways. You do get some sort of
warning usually, but I was able to output the javascript which then has interesting
syntax errors like "$t. = null".
   
Not a show-stopper when one is aware of it, but the IDE should stop the component
name being deleted.
   
/Matthew Jones/
Tue, May 28 2013 3:31 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Here's a nice one. Put a TEdit on a form. Edit its name, and delete it.
The form file is altered to be  >>

I'll make sure this is fixed.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Image