Recent

Author Topic: Problem seeing form (graphic) in project  (Read 6109 times)

zorzal

  • Newbie
  • Posts: 4
Problem seeing form (graphic) in project
« on: July 07, 2011, 02:02:12 pm »
Hello:
I am new to Lazarus and I need a bit of help.
I created a project with a form and a pascal unit.
Now I want to add additional features to the project and would like to edit the form.
I open the project and I can see my form and pascal code in the unit editor.

I cannot see the form in graphic mode.

I highlight the form in the unit editor and press the toggle form/unit button and nothing happens.

What am I doing wrong?  How can I see my form?

Thank you very much for any pointer!

Arbee

  • Full Member
  • ***
  • Posts: 223
Re: Problem seeing form (graphic) in project
« Reply #1 on: July 07, 2011, 02:36:30 pm »
Just a guess.  Have you been creating the project and compiling it without first saving it (usually first time users do that to immediately see if Lazarus works) and then (perhaps inadvertently) closed the form?  That may indeed make the form disappear.

You should perhaps first store everything.  Then closing a form doesn't matter as it is already on disk and toggle unit/form should work
1.0/2.6.0  XP SP3 & OS X 10.6.8

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Problem seeing form (graphic) in project
« Reply #2 on: July 07, 2011, 02:41:23 pm »
Or do you mean that you see source code of your *.lfm ?
Anyway, to see a form: Menu: Project -> Forms...   (or Shift +F12)
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

zorzal

  • Newbie
  • Posts: 4
Re: Problem seeing form (graphic) in project
« Reply #3 on: July 07, 2011, 03:02:33 pm »
Project was saved.
Yes, I see the lfm file in the unit editor.
Shift-F12 brings the View Forms window.  I double click on Form1 or click and press OK and nothing happens.  (Well not really, the form lfm tab in the units editor gets the focus, that's it).
« Last Edit: July 07, 2011, 03:05:55 pm by zorzal »

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Problem seeing form (graphic) in project
« Reply #4 on: July 07, 2011, 03:30:46 pm »
When I switch my form to "View source (.lfm)" then form disappear but when I press Shift+F12 and select then it appear again.
Maybe something changed, I use Lazarus - SVN, what version do you have ?
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

zorzal

  • Newbie
  • Posts: 4
Re: Problem seeing form (graphic) in project
« Reply #5 on: July 07, 2011, 03:36:06 pm »
Version 0.9.30 SVN Rev 29749.
Is this what you were looking for?
I appreciate your responses.  Thanks.

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Problem seeing form (graphic) in project
« Reply #6 on: July 07, 2011, 03:58:03 pm »
I don't know where is problem. Try save your project and restart Lazarus. BTW are you on Windows or Linux ?
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

zorzal

  • Newbie
  • Posts: 4
Re: Problem seeing form (graphic) in project
« Reply #7 on: July 07, 2011, 04:11:59 pm »
Saving project and restarting lazarus: no joy.
OS is Win7

Franek

  • Newbie
  • Posts: 1
Re: Problem seeing form (graphic) in project
« Reply #8 on: December 19, 2011, 03:46:43 pm »
Hi all.
Maybe your form is outside of desktop.
In "Object inspector" select your form. In form Properties find "left" and "top" and set value lower than your screen resolution eg. left=200 top=200

 

TinyPortal © 2005-2018