On Tue, 2 May 2006 23:11:16 +0200
"Darius Blaszijk" <[EMAIL PROTECTED]> wrote:
> >> Manny forms in Lazarus have a OK and Cancel button an many forms don't
> >> show uniform. Ok an Cancel buttons have different size. One time Ok
> >> button is on the right on an other form the button is left the Cancel
> >> button.
> >> It's not a good idea to place OK on all on the right and the cancel
> >left > the ok button?
> >
> > This is common for windows. MacOSX people would expect the other way
> > round.
> > That's why there is TButtonPanel. It must be improved a little bit, but
> > then
> > we might use it for many dialogs.
>
> Mattias,
>
> I was just about to do some work on the TButtonPanel to finalize it.
> (Attaching an OnClick event to a button still does not properly work). You
>
> mention that it still needs some improvement, can you be more specific? Do
>
> you have any requests ;) ?
Yes.
- Bug: TButtonPanel publishes its buttons. Because the buttons are not owned
by the form, TWriter writes all properties of each button multiple times to
the .lfm. And because of the internal creation order this leads to access
violations during loading in some combinations.
- It needs more types of buttons
- It needs custom buttons
- Maybe instead of publishing a fixed list of buttons, better publish a
TCollection of panel buttons.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives