Felipe Monteiro de Carvalho schrieb:
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.

I still doubt that ;-)

In my oppinion the easy way out is the following:

1> Override the Handle creation in TTabControl and make it create a
TCustomControl handle

I don't understand what you mean :-(

2> Put a TPageControl in the client area, like TTabControl currently does

Then every widgetset must allow, somehow, to use the same control for each tab. This should be possible, since there exists no fixed relationship between the widget in the client area of a tabbed widget, and an LCL control.

DoDi


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

Reply via email to