[Lazarus] Lazarus Digest, Vol 74, Issue 14

JIMB wandana at ntlworld.com
Wed Mar 5 12:23:01 CET 2014


Can you tell me how to ask questions on this forum.

I have made several attempts but never see any response


Best wishes,
Jim

-----Original Message-----
From: lazarus-request at lists.lazarus.freepascal.org
[mailto:lazarus-request at lists.lazarus.freepascal.org] 
Sent: 05 March 2014 11:00
To: lazarus at lists.lazarus.freepascal.org
Subject: Lazarus Digest, Vol 74, Issue 14

Send Lazarus mailing list submissions to
	lazarus at lists.lazarus.freepascal.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
or, via email, send a message with subject or body 'help' to
	lazarus-request at lists.lazarus.freepascal.org

You can reach the person managing the list at
	lazarus-owner at lists.lazarus.freepascal.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Lazarus digest..."


Today's Topics:

   1. Re: constructor Create How is it work? (Hans-Peter Diettrich)
   2. IDE default font (Antonio Fortuny)
   3. Re: Lazarus 1.2 Release (Sven Barth)


----------------------------------------------------------------------

Message: 1
Date: Wed, 05 Mar 2014 07:29:21 +0100
From: Hans-Peter Diettrich <DrDiettrich1 at aol.com>
Subject: Re: [Lazarus] constructor Create How is it work?
To: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
Message-ID: <5316C441.4070506 at aol.com>
Content-Type: text/plain; charset=UTF-8; format=flowed



FreeMan schrieb:
> ExLookUp1:=TExLookUp.Create(Form1); This is for manual creating, I'm 
> talk about, I'm designing in IDE, 1-2 TExLookUp on form, and run my 
> application, TExLookUp is class(TCustomEditButton) so Edit and button is 
> shown on where I put on form, in designtime IDE.
> 
> constructor TExLookUp.Create(AOwner: TComponent);
> begin inherited Create(AOwner);
>   Self.OnChange := @EditChange;
set more Self properties here!

>   FGrid := TRxDBGrid.Create(Self);
>   FGrid.Parent := Self.Parent;
>   FGrid.Left := Self.Left;
>   FGrid.Top := Self.Heigh + 10;
>   FGrid.Width := 150;
>   FGrid.visible := False;
> ...

Please remember that you are in the TExLooUp constructor. Finish 
initialization of this component, before assigning Self.whatever to the 
FGrid.

When the TExtLookUp is initialized from the form resource, you have to 
wait until this has been done. In this case I'd move the FGrid related 
part into the TExLookUp.OnCreate handler, which AFAIK is called *after* 
the TExtLookUp has been created and fully initialized.

Or put the code into ExtLookUp.SetParent, as Mattias suggests. But this 
solution depends on the order, how the TExtLookUp properties are 
initialized from the form resource. When Parent is set before Left, 
Height etc., this solution doesn't work either.

DoDi




------------------------------

Message: 2
Date: Wed, 05 Mar 2014 11:22:19 +0100
From: Antonio Fortuny <a.fortuny at sitasoftware.lu>
Subject: [Lazarus] IDE default font
To: lazarus at lists.lazarus.freepascal.org
Message-ID: <lf6tsd$nlh$1 at ger.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Folks.

If I remember well, a discussion took place some weeks ago about the IDE 
fonts in Lazarus but I can't find it any more
So there is my question:
Is it possible to change the default font used by visual controls when 
they are dropped onto the form ?
If answer is yes, how could I change it ?
My quesion is not trivial as I develop simultaneously in Win32 and 
Linux, most of the time, for the same projects (win32/64, GTK for Linux).
First steps on Win32, then port to Linux. Afterwards, development and 
tests go on in parallel.

Thanks,
Antonio.


---
Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant
parce que la protection avast! Antivirus est active.
http://www.avast.com





------------------------------

Message: 3
Date: Wed, 05 Mar 2014 11:38:48 +0100
From: Sven Barth <pascaldragon at googlemail.com>
Subject: Re: [Lazarus] Lazarus 1.2 Release
To: lazarus at lists.lazarus.freepascal.org
Message-ID: <5316FEB8.5050008 at googlemail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Am 04.03.2014 15:52, schrieb Mattias Gaertner:
> The Lazarus team is glad to announce the release of Lazarus 1.2.
A little confusion regarding Windows 64-bit: The main page 
www.lazarus.freepascal.org detects my system rightfully as Windows 64, 
but diverts the download to the 32-Bit IDE. *I* may know why it's doing 
this and I've also read the readme in the Win64 folder on SourceForge, 
but it might nevertheless be confusing for new users that might want to 
develop x64 applications as nowhere on the main page is mentioned that 
one will need the x64 addon installer.

Regards,
Sven



------------------------------

--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


End of Lazarus Digest, Vol 74, Issue 14
***************************************





More information about the Lazarus mailing list