Recent

Author Topic: Lazarus IDE doesn't switch Code GUI  (Read 1502 times)

berghem

  • Jr. Member
  • **
  • Posts: 60
Lazarus IDE doesn't switch Code GUI
« on: February 03, 2020, 09:37:16 pm »
Hi all
Suddendly my IDE doesn't switch GUI <--> Source with F12 Key, I tryed to drag & drop a button in a source windows when I run my software i see the buttom... But my IDE switch the datamodule GUI...
I use Lazarus 2.0.6. for Windows 64 bit
Can you help me?
« Last Edit: February 03, 2020, 10:00:45 pm by berghem »

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2023
  • Former Delphi 1-7, 10.2 user
Re: Lazarus IDE doesn't switch Code GUI
« Reply #1 on: February 04, 2020, 01:21:22 am »
Make sure the code window (not object inspector) is active when switching.

berghem

  • Jr. Member
  • **
  • Posts: 60
Re: Lazarus IDE doesn't switch Code GUI
« Reply #2 on: February 04, 2020, 07:02:54 am »
Yes, the window code is active when I press F12 the label and in tabsheet change color from black to gray, but I don't see the gui...

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Lazarus IDE doesn't switch Code GUI
« Reply #3 on: February 04, 2020, 05:23:03 pm »
Hi!

Exit lazarus.

Take your editor and load from your lazarus directory the file environmentoptions.xml .

Search  for MainIDE. For me this is written:

 
Code: XML  [Select][+][-]
  1. <MainIDE>
  2.         <Caption Value="MainIDE"/>
  3.         <WindowState Value="Maximized"/>
  4.         <Visible Value="True"/>
  5.       </MainIDE>
  6.  

* The WindowState should not be minimized.
* Vsible should be true

Change the values if needed.
Save and leave the file.
Start Lazarus again.

Hope it helped.

Winni

 

TinyPortal © 2005-2018