Recent

Author Topic: Forms dissapear?  (Read 5201 times)

Simmo8

  • New Member
  • *
  • Posts: 42
Forms dissapear?
« on: May 20, 2008, 10:25:07 pm »
I sometimes get this with Delphi 7 too. I just want to know if anyobody else is experiencing this in lazarus (latest snapshot im using). I cant pinpoint exactly when it happens but sometimes the forms in the IDE dissapear. They show in the window menu and also the view forms, but when i click it the form doesnt show, its gone. Like i say i cant say when it dissapears but it seems more frequent, and this is with no changes to the snapshot download i have.

Please advise thanks

Simmo8

  • New Member
  • *
  • Posts: 42
RE: Forms dissapear?
« Reply #1 on: May 20, 2008, 10:31:14 pm »
Update: i just opened lazarus, run the default project and the compiled form showed. I closed the compiled form and went back to the IDE to only have the source editor, the form had dissapeared. Maybe its the options (i choose to hide the ide when project is running) - i shall experiment with the options too see for a difference, but i think i may of found a bug

Simmo8

  • New Member
  • *
  • Posts: 42
RE: Forms dissapear?
« Reply #2 on: May 20, 2008, 10:40:33 pm »
Updated:

It doesnt happen all the time, and the options seem irrelevant. It seems sometimes, in my case 8 times out of 10 the project lazarus creates by default, is showing no form. So when i try and run it, i get project1 in the taskbar, but for some reason no form is shown when i click it (presumably because there was no form when the default project was created.)

My resolve so far is to close the project and create a new one, which even then sometimes i get a new project with a missing form. So its hope for the best at my end when creating and debugging the project. Im interested to see if others are expereincing similiar problems, and if so is there a way for lazarus to ensure the form is infact there and visible?

Please look into it, i hope its not just me and a near resolve can be made.

EDIT: i must also add it NEVER shows a form when i run the IDE maximized, but i do see the form when the IDE is run as normal. very odd

Simmo8

  • New Member
  • *
  • Posts: 42
Forms dissapear?
« Reply #3 on: May 22, 2008, 08:58:19 pm »
i think i figured the problem out. It seems that sometimes when the form editor is created in lazarus, for whatever reason at my end it is created below the taskbar. If i hide the taskbar, i still cant get hold of the form. So i either have to modify the Left and Top properties or set the form to poScreenCenter.

What unit is the form editor that lazarus uses for visually editing the form? The Jitform i think, i cant find the correct unit, i want to have a look see if there is anything i can troubleshoot from.

Thanks 8)

 

TinyPortal © 2005-2018