Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-05

Changes to forms?

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Tom Lisjac: I've been having some trouble with the treeview component so I decided to do a cvs update…
I've been having some trouble with the treeview component

What problems?

so I decided to do a cvs update and build. When I compiled and ran the project I've been working on, the form came up completely blank!

Sounds as if the form was not properly streamed to the lrs file. If there was no warning/error message, this is very serious. Can you send me any lfm+lrs file (before and after the error)? What components are you using? Are you using additional include files or special filenames?

After exiting, the form was also blank in the designer!

Do you mean: The form was shown with all components, then you press F9, and after your program stopped, the form in the designer was empty?

Trying to recover, I restored a backup of the previous (April 10th) version of Lazarus I'd been working with.

You can download any version of lazarus from cvs. For example:

cvs -z3 update -dP -D 4/30/2003

Show quoted text 7 lines
When I load the project on the older version, I get the following error message: "Error while reading Tform1.HELPTYPE: Unknown property". I can ignore the errors and get the form back... but having to use the older version will cut me off from CVS. Is there a procedure I can do to migrate my forms to the newer code?

The forms are probably ok. There seems to be a bug in the IDE. Plz send me the example, or at least the lfm/lrs files, so I can try to find out, why they don't load.

Mattias

Tom Lisjac

I've been having some trouble with the treeview component so I decided to do a cvs update and build. When I compiled and ran the project I've been working on, the form came up completely blank! After exiting, the form was also blank in the designer!

Trying to recover, I restored a backup of the previous (April 10th) version of Lazarus I'd been working with. When I load the project on the older version, I get the following error message: "Error while reading Tform1.HELPTYPE: Unknown property".

I can ignore the errors and get the form back... but having to use the older version will cut me off from CVS. Is there a procedure I can do to migrate my forms to the newer code?

Best regards,

-Tom

Tom Lisjac
to Tom Lisjac
Mattias Gaertner wrote 7 lines
On 04 May 2003 01:28:33 -0600 Tom Lisjac wrote: > > I've been having some trouble with the treeview component What problems?

Executing from an xterm, I see the following exception:

Gtk-CRITICAL **: file gtkstyle.c: line 515 (gtk_style_attach): assertion `window != NULL' failed.

...on both GTK 1.2 and 2.x systems. Here's how to reproduce it:

1. New project
2. Drop a TNotebook on the form
3. Add a page (or more) to the Notebook
4. Drop a TTreeview on any page
5. Run

Sounds as if the form was not properly streamed to the lrs file. If there was no warning/error message, this is very serious.

I don't think this was the result of a save. I loaded the project from the April 10th version to the latest CVS build. The first thing I did was try the TTreeview component and had the same problem that I described above. After that is when the runtime and IDE form blanked.

Perhaps this is just an issue resulting from the TTreeview exception generating other side effects in the IDE.

Can you send me any lfm+lrs file (before and after the error)? What components are you using? Are you using additional include files or special filenames?

I'll be happy to send the project. Everything was working fine (with the exception of the treeview) until I did a cvs build tonight.

Show quoted text 5 lines
> After exiting, the > form was also blank in the designer! Do you mean: The form was shown with all components, then you press F9, and after your program stopped, the form in the designer was empty?

Yes... exactly.

I closed Lazarus, restarted it and reloaded the project. It came up blank again. I restarted the machine but got the same result.

I restored the April 10th version. When I loaded the project with it, I got the "Error while reading Tform1.HELPTYPE: Unknown property" message. I hadn't saved the project in the new version so I was surprised that the form had changed. I clicked through the errors with ignore and went back to work. Everything is working fine with the April 10th version.

You can download any version of lazarus from cvs. For example: cvs -z3 update -dP -D 4/30/2003

Thanks! That's good to know!

Show quoted text 6 lines
Is there a procedure I can do to > migrate my forms to the newer code? The forms are probably ok. There seems to be a bug in the IDE. Plz send me the example, or at least the lfm/lrs files, so I can try to find out, why they don't load.

It may take a little time, but I've got backups and should be able to send you the before and after version.

Best regards,

-Tom

Johannes T.
to Tom Lisjac

Hello,

is there any roadmap when Lazarus is to appear as a stable-package for win32 for real development purposes, since this is nice and admirable what you do (including the time you have to so) but I can't build hardly any real and stupid application with a constantly crashing RAD. I rather write the API stuff myself, that will somehow be virtually the same waste of time as debuging such an application.

Looking forward to answers and praising all lazarus developers ;-) Johannes T.

Darwin
to Johannes T.

Did I miss the answer to this question? So far I only have Windows and am interested in Lazarus for Windows. So basically I'm currently interested in any/all good information about Lazarus and Windows. Thanks for any help.

Maybe someday I'll get with the program and get Linux.

Earlier message 26 lines
----- Original Message ----- From: "Johannes T." To: Sent: Sunday, May 04, 2003 5:58 PM Subject: [lazarus] > Hello, > > is there any roadmap when Lazarus is to appear as a stable-package for win32 > for real development purposes, since this is nice and admirable what you do > (including the time you have to so) but I can't build hardly any real and > stupid application with a constantly crashing RAD. I rather write the API > stuff myself, that will somehow be virtually the same waste of time as > debuging such an application. > > Looking forward to answers and praising all lazarus developers ;-) > Johannes T. > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives >
Mattias Gaertner
to Johannes T.: is there any roadmap when Lazarus is to appear as a stable-package for win32 for real…
Show quoted text 6 lines
Did I miss the answer to this question? So far I only have Windows and am interested in Lazarus for Windows. So basically I'm currently interested in any/all good information about Lazarus and Windows. Thanks for any help. Maybe someday I'll get with the program and get Linux.

Lazarus needs more windows developers to fix the bugs. So, no one can say, when the RAD will work under windows.

Mattias

Show quoted text 32 lines
----- Original Message ----- From: "Johannes T." To: Sent: Sunday, May 04, 2003 5:58 PM Subject: [lazarus] > Hello, > > is there any roadmap when Lazarus is to appear as a stable-package for win32 > for real development purposes, since this is nice and admirable what you do > (including the time you have to so) but I can't build hardly any real > and stupid application with a constantly crashing RAD. I rather write > the API stuff myself, that will somehow be virtually the same waste of > time as debuging such an application. > > Looking forward to answers and praising all lazarus developers ;-) > Johannes T. > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives