Recent

Author Topic: Tabbed Document Interface  (Read 233 times)

Saylo_49

  • New Member
  • *
  • Posts: 34
Tabbed Document Interface
« on: May 20, 2019, 02:56:15 am »
Hello

I am looking for a method or code snippet to implement a Tabbed Document Interface in a project

What I am exactly looking for is a kind of Tab or PageControl that can take limited area in the Form not to invade it all, and with close botton on Tab's Caption right
(if there 's also a way to give the ability to show/hide the close botton)

If there is a ready component, I wanna know if it support i18n (through Po or else)
Lazarus 2.0.2 - FPC 3.0.4 - Win32

lucamar

  • Hero Member
  • *****
  • Posts: 1982
Re: Tabbed Document Interface
« Reply #1 on: May 20, 2019, 03:19:17 am »
What's wrong with TPageControl? Or even TTabControl + TNotebook in a TFrame (to keep them together)?

They all do what you want.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.2/2.0.4  - FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 790
Re: Tabbed Document Interface
« Reply #2 on: May 20, 2019, 05:47:05 am »
Hello

I am looking for a method or code snippet to implement a Tabbed Document Interface in a project

What I am exactly looking for is a kind of Tab or PageControl that can take limited area in the Form not to invade it all, and with close botton on Tab's Caption right
(if there 's also a way to give the ability to show/hide the close botton)

If there is a ready component, I wanna know if it support i18n (through Po or else)
Some extra information, maybe useful:
Tabbed Document Interface
https://forum.lazarus.freepascal.org/index.php/topic,1781.0.html

Tabbed Document Interface (TDI)
https://forum.lazarus.freepascal.org/index.php/topic,34142.0.html