Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread can't rename form?
Wed, Mar 4 2020 2:16 PMPermanent Link

Bruno Larochelle

Windows 10, EWB 3.00 build 1

I am having trouble renaming a simple (single) form. It appears that changing the name in the object Inspector (say from 'Form1' to 'frmMain' does not update the code in the unit and project file.

Example of a new project called 'project07':

project project07;

contains Unit1;

uses WebForms, WebCtrls;

begin
  Application.CreateForm(TForm1);
  Application.Run('Form1');
end.

This runs fine.

When I change the form name to 'frmMain', both the project file and unit file remain unchanged. So the project does not compile. If I change the text for these objects in both the project and units files manually, then it compiles.

I am guessing it has nothing to do with O/S file permissions as I am able to save those files if the changes are made manually in the editor.
Thu, Mar 5 2020 12:13 AMPermanent Link

Bruno Larochelle

Tim.. I confirm that I can now rename the form with Build 3.. thanks.

I do notice a minor buglet.. if I rename the form and then immediately re-run within the IDE.. it shows a blank window (no content). Stopping and re-starting does the same.

However, closing and then re-opening the project.. all is good.
Thu, Mar 5 2020 12:35 AMPermanent Link

Bruno Larochelle

I did a bit more random fooling around.. new projects, new objects.. etc..

The IDE appears to occasionally display a 'blank' page if you run/execute a project immediately after adding a new component (I tried many different ones). Sometimes it is only partially blank, with one or two components visible but in the wrong position.

Closing the project and re-opening appears to always fix it.

I have not nailed down exactly when it happens, but it can be reproduced easily enough. If a screencast of it is useful.. let me know.
Thu, Mar 5 2020 9:49 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bruno,

<< The IDE appears to occasionally display a 'blank' page if you run/execute a project immediately after adding a new component (I tried many different ones). Sometimes it is only partially blank, with one or two components visible but in the wrong position.

Closing the project and re-opening appears to always fix it. >>

Thanks, I'll check it out.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Mar 5 2020 10:45 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bruno,

Don't look any further, I found the issue.  The compiler emit phase isn't including the control interfaces in certain situations, hence the blank output.  The HTML loader files are about half the size that they should be in such cases.

I'll have a fix out in build 4.

Thanks !

Tim Young
Elevate Software
www.elevatesoft.com
Image