On Thu, 1 Dec 2016 14:57:42 -0200
luciano de souza <luchya...@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to