On 11/28/06, Marc Weustink <[EMAIL PROTECTED]> wrote:
A statictext is a TWinControl descendant, it has a handle and can be
focussed. If it can be focussed, it can have a tabstop and thus a
taborder (maybe to focus a bound focuscontrol)
Why would anyone want to focus a Label?
Plus, statictext uses native controls. I need to check, but I would be
surprised if Gtk or Qt allows it´s standard caption control to be
focused. publising this properties might cause cross-platform issues.
Why someone would prefer to use a statictext instead of a TLabel, I
don't know.
TStaticText uses native controls. So it´s easier to be implemented. To
implement TLabel you need to implement a lot of painting and DC
things, as well as many WinAPI functions. To implement TStaticText you
only need to use the native control the widgetset provides. So often
initial interfaces will have static text working but TLabel not.
--
Felipe Monteiro de Carvalho
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives