Recent

Author Topic: [SOLVED] Remove the raised frame under a TPageControl ?  (Read 1660 times)

Basile B.

  • Guest
[SOLVED] Remove the raised frame under a TPageControl ?
« on: September 10, 2015, 03:40:32 pm »
There's always a kind of panel with a 'raised' border style under a TPageControl. Is it possible to get rid of it ?
« Last Edit: September 10, 2015, 04:34:53 pm by BBasile »

derek.john.evans

  • Guest
Re: Remove the raised frame under a TPageControl ?
« Reply #1 on: September 10, 2015, 04:05:14 pm »
Same as my post on compound controls. TPageControl maps to the platform pagecontrol.

You can try to change widget sets (ie: QT/GTK/CustomDrawn) or, there are a few pagecontrols in various packages, none-of-which stand out as exceptional. (IMHO)

** EDIT **

It isn't hard to create a ad hoc page control using you choice of button bar. ie: TToolBar, left aligned TButtons, etc., with a TPanel containing TPanels (tab sheets). A button click brings a selected TPanel to front.

« Last Edit: September 10, 2015, 04:10:06 pm by Geepster »

Basile B.

  • Guest
Re: Remove the raised frame under a TPageControl ?
« Reply #2 on: September 10, 2015, 04:34:32 pm »
Right, this is an acceptable solution. I can wrap everything in a TWinControl and propose the same interface (same method names) as a TPageControl to make the new stuff compatible with existing code.

 

TinyPortal © 2005-2018