[Lazarus] Confusing properties

2020-02-09 Thread Michael Van Canneyt via lazarus


Hello,

What is the difference between the ActiveDefaultControl and DefaultControl
properties in TForm ?

And why are none of DefaultControl, ActiveDefaultControl and CancelControl
settable in the objectinspector ? Is this on purpose or not ?

Michael.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE rebuild fails on raspi4

2020-02-09 Thread Tom Lisjac via lazarus
Thanks Werner.

You are correct that oleutils is outside the Windows endif... my apologies.
The monitor I'm using for the pi is very small and I should have used a
magnifying glass to confirm the problem description before posting.

Per your comments, I was able to complete the IDE rebuild after manually
compiling fpdebug, lclextensions, virtualtreeview and the
onlinepackagemanager. However when I restart Lazarus, I have to recompile
them again to do another rebuild. Not sure what's causing the lack of
persistence, but Otto Dominguez also sent me a link to a set of 2.0.6
packages he's made for the pi4 and I think I'll give those a try.

Thanks again for your reply and suggestions,

-Tom




On Fri, Feb 7, 2020 at 11:09 AM Werner Pamler via lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> Am 07.02.2020 um 11:16 schrieb Tom Lisjac via lazarus:
> > Trying to get Lazarus working on the raspberry pi 4 with the latest
> > Raspbian (Debian 10.2). Installed 2.0.0+dfsg-2 with synaptic from the
> > Raspbian repos, but haven't been able to install components and
> > rebuild the IDE, due to:
> >
> >   VirtualTrees.pas(70,3) Fatal: Cannot find OleUtils used by
> VirtualTrees.
> >
> > Got past a similar issue with fpdebug buy compiling it manually, but
> > the VirtualTrees source shows OleUtils inside a Windows ifdef which
> > isn't going to resolve on the pi:
> >
> > unit VirtualTrees;
> > {$ifdef Windows}
> >   ...
> >   OleUtils,
>
> I checked several versions of the Lazarus port on Luiz's github
> ((https://github.com/blikblum/VirtualTreeView-Lazarus - the version
> included in Lazarus is based on v5)), and they all have OleUtils outside
> the Windows ifdef, the code is:
>
> uses
>{$ifdef Windows}
>Windows,
>ActiveX,
>CommCtrl,
>{$else}
>laz.FakeActiveX,
>{$endif}
>OleUtils,
>
>
> In fact, OleUtils is a unit which provides some Windows-functionality
> for other widgetsets. However, it does not belong the VirtualTreeViews -
> it is contained in the lclextensions package which you must compile
> first, before touching VirtualTreeViews. Maybe it is sufficient to
> simply do a clean rebuild of the IDE.
>
>
> --
> ___
> lazarus mailing list
> lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus