Alexander Todorov ha scritto:
[...]
After all these e-mails I did not understand one thing.
Is the buttons order 1-2 correct? Should the second button be aligned
to the rightmost or it should stick next to the first button getting
the expected order 2-1? Is this a bug or something that is related to
Delphi compatibility?
IMHO it's an obscure bug.
I've inserted the same code you show in a small test program I'm using,
and I get the expected correct order 2-1. The only difference is that my
buttons are created when you click on the panel, and not in the
FormCreate method. You could try to do the same, and check if the
problem arises from the order of the operations on form creation.
In all other cases I've tested, i.e. creating the buttons with the Ide,
setting the Alignement property run-time, etc, you always get the
expected behaviour: the rightmost button is the first created (or right
aligned), the others are stacked against it.
Therefore one would expect the same behavior to occur if you create them
run-time.
Giuliano
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives