[Lazarus] PageControl vs NoteBook vs TabControl

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Mar 4 15:45:29 CET 2010


On Thu, Mar 4, 2010 at 11:09 AM, Michael Van Canneyt
<michael at freepascal.org> wrote:
> in Lazarus, this last control is simply buggy, it should be fixed. The
> second can be deleted, as lazarus never worked on Windows 3.1

Actually this is wrong. In Delphi the Notebook has no tabs and no
border, so it is something completely different from TPageControl and
it can be used to create assistent-like dialogs. Instead of having
lot's of very similar forms, have just one and each screen of the same
form is in a different page of a TNotebook. You can't use TPageControl
for that because it has a border, which is unwanted for this
functionality.

The Lazarus TNotebook is implemented wrong, it's implemented as if it
was the same thing as a TPageControl. It should eventually be fixed,
but what prevents this is that it is widely used at the moment.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list