[fpc-devel] Chosing a graphical interface for specific proposals

JosĪ¹ Mejuto joshyfun at gmail.com
Mon Oct 25 19:58:14 CEST 2010


Hello FPC,

Monday, October 25, 2010, 7:12:25 PM, you wrote:

lds> 1. tform - it fulfills the items 1 and 3. A blind person cannot
lds> program it. At first, because Lazarus environment is not accessible
lds> and a blind people prefer to use only hard code without move objects
lds> on a form. Secondly, even we adopt hard code, it's not possible to
lds> program using tform without writing codes like: button1.left := 30.
lds> The way blind people can program is not based on coordenates or
lds> dimensions, but in the automatic layout management.

Using a TForm you can program based in a containers style using
alignment and anchors (advanced anchoring, not the Delphi one).

So you can insert a panel with aligment top, and autosize on, now add
a label with a caption and autosize on, now add a textbox to input
data and anchor it to the left of the label and to the top of the
label, so if your label is bigger the textbox is moved to the right.

It is not exactly the same as GTK or other container oriented
interfaces but it is doable.

Anyway this should be more Lazarus/LCL related.

-- 
Best regards,
 Jose




More information about the fpc-devel mailing list