[Lazarus] TTabControl (d)evolution
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Thu Aug 4 17:46:12 CEST 2011
On Thu, Aug 4, 2011 at 6:12 PM, Hans-Peter Diettrich
<DrDiettrich1 at aol.com> wrote:
> In the long term I still suggest to remove *all* code from the widgetsets,
> that deals with the TCustomPage parameters as *visual* components, and
> switch the pages of a TPageControl outside the widgetsets, by simply
> switching their Visibility accordingly.
That's impossible as you have already seen in Gtk2. Visible page
sheets are simply mandatory outside Win32.
In my oppinion the easy way out is the following:
1> Override the Handle creation in TTabControl and make it create a
TCustomControl handle
2> Put a TPageControl in the client area, like TTabControl currently does
--
Felipe Monteiro de Carvalho
More information about the Lazarus
mailing list