[fpc-pascal] Using the LCL without Lazarus
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Dec 1 18:04:27 CET 2016
On Thu, 1 Dec 2016 14:57:42 -0200
luciano de souza <luchyanus at gmail.com> wrote:
> I am also blind and this topic really interesses me.
> In the given example, heith and width were specified in pixels.
> Is there a way to write the same example using automatic adjustments,
> in other words, setting to the layout incresing or decreasing in the
> proporcion of the label writen?
Yes. For example:
With Form1.Button1 Do
begin
Left := 10;
Top := 10;
AutoSize := true;
Caption := 'PRESS ME';
Parent := Form1;
end;
Mattias
More information about the fpc-pascal
mailing list