Recent

Author Topic: Lazarus Release 1.8.2 (with FPC 3.0.4)  (Read 107059 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9794
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #60 on: March 22, 2018, 02:09:08 pm »
1) Tools > Options > Codetools: "Jump directly to message body".
This should change what jump to implementation does. I never used it, but afaik that is how it works

going back: alt-h (not sure maybe ctrl-h) in either case you can assign it to other keys, maybe ALT- cursor-left


2)
Lazarus doesn't pop up. But "Find references" gives you this list, in a separate window
It works for any identifier, functions , variables, classes....

Alt-h should work after jumping to any of them

4) And "Lock" it.
this will mean if you navigate around in the unit (search results, jump to other declaration/implementation....) then it will use the unlocked window.

There are some options in the Tools>Option > Editor > Pages and Windows
that determine which window to use as target.
« Last Edit: March 22, 2018, 02:11:10 pm by Martin_fr »

tverweij

  • Guest
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #61 on: March 22, 2018, 02:35:21 pm »
1. Thank you.  :)
I have now:
ALT-UP: Find references
ALT-DOWN: jump to implementation
ALT-LEFT: Go Back
ALT Right: Go Forward

2. Found it (see above) - works perfect.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #62 on: March 22, 2018, 03:11:09 pm »
I just started with FPC/Lazarus, coming from VB.Net.

Then you may interested to learn some useful shortcuts:
http://wiki.lazarus.freepascal.org/Lazarus_IDE_Shortcuts

And here are some useful things to do on the IDE:

- Enable Single Button in Taskbar
Lazarus main menu > Tools > Options > Environment > Window > Show single button in Taskbar

- Show Project Inspector
Lazarus main menu > Project > Project Inspector

- Show Code Explorer
Lazarus main menu > Source > Code Explorer

- Create and Manage Your Desktop
Lazarus main menu > Tools > Desktop

- Enable Anchor Docking
Lazarus main menu > Package > Install/Uninstall Packages > on the right panel, choose "anchordockingdsgn 0.5" > Install Selection > Save and rebuild IDE > Continue > wait some minutes, then the IDE will be restarted

And here has a list of tutorials with wide range of topics:
http://wiki.lazarus.freepascal.org/Lazarus_Documentation

Also this maybe useful for you:
http://wiki.lazarus.freepascal.org/Pascal_for_VisualBasic_users
« Last Edit: March 22, 2018, 03:14:33 pm by Handoko »

segfault

  • Full Member
  • ***
  • Posts: 107
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #63 on: March 26, 2018, 09:41:19 am »
Thanks for the release. It seems to work great using Wine 1.8.7. on Linux.  :)
You can also use the native Linux version on Linux.

Yes, but although Linux is my OS I write programs mostly for Windows. I used to use the Linux native version and cross-compiled to Windows but the results weren't that good as a consequence  of using different widgets sets. The application looked great on GTK but after cross-compiling the graphics on the windows exe were often misaligned, widgets were too big, etc. Using the Windows version solves those problems because what I see is what I get.

Robert W.B.

  • Sr. Member
  • ****
  • Posts: 328
  • Love my Wife, My Kids and Lazarus/Freepascal.
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #64 on: April 17, 2018, 08:36:51 pm »
Thank You very mutch.
Great work.  8-)
« Last Edit: April 27, 2018, 06:57:51 pm by R.Blennerhed »
Rob

arneolav

  • Full Member
  • ***
  • Posts: 195
    • ElTranslador
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #65 on: April 28, 2018, 10:30:03 pm »
Installed LAz 1.8.2 win 64, and some components OK.

But seems to be an error on install of some components:
Example:
upoweredby.pas(150,5) Error: Identifier not found "lpGtk"
poweredby is "asked for" by SplashAbout

Bug or are some workarounds



Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

wp

  • Hero Member
  • *****
  • Posts: 11857
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #66 on: April 28, 2018, 11:45:41 pm »
Works fine for me (Laz 1.8.2/fpc 3.0.4/64 bit, Win 19/64 bit, poweredby installed via Online Package Manager, as well as trunk version on CCR).

Did you try a clean rebuild of the IDE, or at least a clean recompilation of the poweredby and the other failing package?

arneolav

  • Full Member
  • ***
  • Posts: 195
    • ElTranslador
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #67 on: April 28, 2018, 11:51:31 pm »
Downloaded from Sorceforget, Clean install.
Works fine, execpt som components.

May be you could try powerwed by? (In the compoment list of Lazarus)
Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

arneolav

  • Full Member
  • ***
  • Posts: 195
    • ElTranslador
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #68 on: May 01, 2018, 12:33:44 pm »
Downloaded new Poweredby after remove of all old stuff, then it did compile OK.
and scrolltext did complie OK.

splashabout does not compile,
error:
uversion; uversion.pas(111,5) Error: Identifier not found "lpGtk"

it seems no new version exisit, last i'v found is from june 2014
Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

wp

  • Hero Member
  • *****
  • Posts: 11857
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #69 on: May 01, 2018, 01:30:35 pm »
splashabout? Where is that? Looking at PoweredBy on Lazarus-CCR (https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/poweredby/latest_stable/) I cannot find a SplashAbout. Maybe you still have a mix of old and new versions?

arneolav

  • Full Member
  • ***
  • Posts: 195
    • ElTranslador
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #70 on: May 01, 2018, 03:15:23 pm »
Here:
http://wiki.freepascal.org/SplashAbout
It did work on version 1.6.4

In 1.8.2 the application is asking fore it but i'v now removed it.
Application compiles ok.
Thank's for all help!
« Last Edit: May 01, 2018, 03:25:52 pm by arneolav »
Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

wp

  • Hero Member
  • *****
  • Posts: 11857
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #71 on: May 01, 2018, 03:28:51 pm »
You must add LCLPlatformDef to the (implementation) uses clause of unit uversion.

arneolav

  • Full Member
  • ***
  • Posts: 195
    • ElTranslador
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #72 on: May 01, 2018, 04:03:27 pm »
Thanks, then all works!
Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

kpp

  • New Member
  • *
  • Posts: 10
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #73 on: May 03, 2018, 12:56:02 pm »
I wrote a program with Lazarus that has a lot of pagecontrols and different tabsheets.
Under Windows 10 (version 1709) the program opens in under 1 second.
Under Windows 10 (version 1803) it takes about 2 minutes after leaving FormCreate until the mask opens.
When I throw out the tabsheets, it's getting faster.
Does anyone have similar problems with the new Windows version?
Lazarus 1.8.2 / FPC 3.0.4 / Windows 10 pro

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Lazarus Release 1.8.2 (with FPC 3.0.4)
« Reply #74 on: May 04, 2018, 08:09:59 am »
Does anyone have similar problems with the new Windows version?

I haven't spotted any issues so far.
Please provide a test program to demonstrate.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

 

TinyPortal © 2005-2018