Bookstore

Recent

Author Topic: [solved]Opened projects does nothing  (Read 458 times)

DeroB73

  • New member
  • *
  • Posts: 6
[solved]Opened projects does nothing
« on: December 18, 2019, 04:40:41 pm »
When i open a project noting is shown, object inspector is empty. No form or code. F12 does nothing.
But compiling and running works
Right now i can only create new applications.   
Lazarus 2.0.6  on Win 10

Any suggestions ?
Thx 
« Last Edit: December 18, 2019, 06:22:44 pm by DeroB73 »

lucamar

  • Hero Member
  • *****
  • Posts: 2561
Re: Opened projects does nothing
« Reply #1 on: December 18, 2019, 04:48:29 pm »
Have you tried Shift+F12 or Ctrl+F12 to access the list of forms/units?

It isn't often but it happens sometimes if you close all the IDE windows (designer & editor) before closing the IDE itself.
« Last Edit: December 18, 2019, 04:50:55 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.6/FPC 3.0.4 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

wp

  • Hero Member
  • *****
  • Posts: 6817
Re: Opened projects does nothing
« Reply #2 on: December 18, 2019, 04:52:45 pm »
You probably have built the project initially with Lazarus trunk which has a different structure in the xml files. Open the project in trunk again, go to "Project options" > "Miscellanous" and check "Maximize compatibility of project files". After saving you can open the project in Laz 2.0.6. or older.
« Last Edit: December 18, 2019, 05:22:04 pm by wp »
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

DeroB73

  • New member
  • *
  • Posts: 6
Re: Opened projects does nothing
« Reply #3 on: December 18, 2019, 06:21:15 pm »
The Shift+F12 or Ctrl+F12 did the trick.
it seems i have to do it every time i load a project, but  :D 
Thanks lucamar and wp

lucamar

  • Hero Member
  • *****
  • Posts: 2561
Re: Opened projects does nothing
« Reply #4 on: December 18, 2019, 07:03:03 pm »
The Shift+F12 or Ctrl+F12 did the trick.
it seems i have to do it every time i load a project, but  :D 

That is just a temporal workaround. Fact is you shouldn't have to do it at all, so there's something quite wrong in your system/installation. Unfortunately I don't know what it may be, other than what wp already said  :(
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.6/FPC 3.0.4 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

winni

  • Hero Member
  • *****
  • Posts: 1110
Re: [solved]Opened projects does nothing
« Reply #5 on: December 18, 2019, 07:46:05 pm »
Hi!

No - it is default behaviour:

F12   toggle between Form/Editor
Ctrl F12 Show Editor
Shift F12 Show Form

So have a look at the tools if the keymapping did some strange things with F12. Or deleted the entry.

Winni