Recent

Author Topic: How do I reopen a form that I closed?  (Read 977 times)

dfatl

  • Newbie
  • Posts: 5
How do I reopen a form that I closed?
« on: February 14, 2023, 01:55:05 am »
Hello,

I'm just trying to get familiar with the IDE in Win10.  I have it setup as a docked view using the package that set that up.   I open a new application project.   The form is free floating and all other items in the main window.  I move the form around, then click the X to close it and it asks if I want to save changes to the unit1.pas, I say no (I'm just messing with the ide).   The problem is I can't figure out how to get the form open again  :-[, the toggle form/unit view doesn't do anything and I don't se any other options to open it?

Thanks!

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2069
  • Fifty shades of code.
    • Delphi & FreePascal
Re: How do I reopen a form that I closed?
« Reply #1 on: February 14, 2023, 02:00:36 am »
When project was saved, use what I show on image.
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

dfatl

  • Newbie
  • Posts: 5
Re: How do I reopen a form that I closed?
« Reply #2 on: February 14, 2023, 02:15:06 am »
I tried that, it shows, if I double click it, the dialog goes away but no form shows?

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2069
  • Fifty shades of code.
    • Delphi & FreePascal
Re: How do I reopen a form that I closed?
« Reply #3 on: February 14, 2023, 03:08:57 am »
You might show with Snapshots what is going on at your side, atm it makes not that much sense.
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

dfatl

  • Newbie
  • Posts: 5
Re: How do I reopen a form that I closed?
« Reply #4 on: February 14, 2023, 03:24:42 am »
Fresh first time install of Lazarus using latest download binary package for Windows.  Installed to Win10 x64 Pro.

1 - Not sure if it matters but converted to docked version using Anchor DockingDsgn 1.0

2 - Project / New Project / Application.

3 - Move TForm1  - Click X to close it - say No to save changes.

4 - Can't figure out how to open the form again.  Unit1 tab exists with source with a "*" because modified state. 

?

dseligo

  • Hero Member
  • *****
  • Posts: 1221
Re: How do I reopen a form that I closed?
« Reply #5 on: February 14, 2023, 09:11:49 am »
Try menu 'Window', 'Center a lost window' and then select name of your form.

cdbc

  • Hero Member
  • *****
  • Posts: 1083
    • http://www.cdbc.dk
Re: How do I reopen a form that I closed?
« Reply #6 on: February 14, 2023, 09:45:11 am »
Hi
Click Yes to save changes.
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: How do I reopen a form that I closed?
« Reply #7 on: February 14, 2023, 04:04:33 pm »
Quote
3 - Move TForm1  - Click X to close it - say No to save changes.
Now you have a not stored Form (lfm) and a not stored unit (pas) The * says, changes not stored. This is correct
Ok, on a not stored Form, you can nothing recover or reopen.

With the dockedform editor, i can not close the form.

The correct way after creating a new project, is to store all as the first action.
regards
Andreas

 

TinyPortal © 2005-2018