On Thu, Aug 4, 2011 at 6:12 PM, Hans-Peter Diettrich
<[email protected]> 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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to