Questions tagged [ttabsheet]

ttabsheet display an individual page embedded in a TPageControl VCL control. They are defined in the same ComCtrls.pas unit.

25 questions
7
votes
5 answers

TTabSheet hints in Delphi

I want a TPageControl and some TTabSheets, with 'per tabsheet' tooltip hints visible as I hover over each tab in turn. Is there any way of getting this effect in Delphi 2009?
Roddy
  • 66,617
  • 42
  • 165
  • 277
6
votes
4 answers

how do I avoid this unwanted behaviour with Delphi's TSplitter and panels?

Included is a small project demonstrating my problem. I have a TPageControl aligned to the main form. On each of two tabsheets I have panels client aligned. On each of those panels I have 2 subpanels and a splitter. The LH panel and splitter is…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
4
votes
1 answer

Is it possible to change the colour of TTabSheet tabs

I am running Lazarus 0.9.30.2. I have a TForm on which there is a TPageControl. Within the TPageControl there is a series of TTabSheets (about 30 of them). What I want to do is colour code the tabs, so the first 10 are Red, next 10 are Blue and…
user1174918
  • 525
  • 6
  • 22
4
votes
1 answer

Looping all components on a TabSheet

I have the following code which shoul loop all components on a given tab on my tabsheet. I have tried many variants of the same code found on the net, but I simply can't get it to work. First I check if it is the right tab - that works. Then I check…
OZ8HP
  • 1,443
  • 4
  • 31
  • 61
3
votes
2 answers

Is It Possible To Change The Font Colour of a TTabSheet Tab Caption

Just a follow up question to this one here => link Is it possible to change the text colour of a TabSheet caption to another colour (eg. White) and change the font style to 'bold'?
user1174918
  • 525
  • 6
  • 22
3
votes
2 answers

How do I make a shortcut key do different things depending on the active tab page?

Each TTabSheet on my TPageControl has a TToolBar on it. Each tool bar has a TToolButton that should respond to the same keyboard shortcut. How do I provide hotkeys so that the right button is invoked for the current page? On the first tab sheet,…
maxfax
  • 4,281
  • 12
  • 74
  • 120
2
votes
1 answer

TTabSet tab Order....Different At Run Time Than Design Time

I am running Lazarus 0.9.30.2. I have a TForm on which there is a TPageControl. Within the TPageControl there is a series of TTabSheets. At runtime the order of the TTabSheets differs from design time (see picture). The order in design time is…
user1174918
  • 525
  • 6
  • 22
2
votes
2 answers

Move a TabSheet between PageControls

I'm using Delphi 7 currently. I have a main Form, it has a PageControl with 5 tabs on it. I'm looking for a way to 'Detach' these tabsheets from the pagecontrol and move them individually to a new form, that is created runtime. The moved sheet needs…
Thomas R.
  • 77
  • 3
  • 10
1
vote
1 answer

Create TabSheet and Frame based on item checked in a TreeView

I have a TTreeView on my form which gets populated from a DB table. The list currently has 22 items and all of them have checkboxes that can be checked. The TTreeView is on a TForm that has a TPageControl with a pre-made TTabSheet and all other…
t1f
  • 3,021
  • 3
  • 31
  • 61
1
vote
0 answers

Why compiler execute OnShow event first and OnHide later in TTabSheet?

I'm using a TPageControl with 2 TTabSheet (ModifyTab and DeleteTab) and I have code in OnShow and OnHide events for both tabs . I was thinking that when I clicks anyone of these tabs, OnHide event of the selected Tab occurs first and clicked tab´s…
fuentes
  • 11
  • 3
1
vote
1 answer

How to add a property to TTabSheet such that it can be used at design time with TPageControl

I would like to add "MyProperty" to TTabSheet and work with it at design time. However if I subclass it I fear I will need to also subclass TPageControl, since it internally creates/manages the TTabSheets. I believe this would require duplicating…
user1627960
  • 421
  • 1
  • 3
  • 10
1
vote
1 answer

How to dynamically duplicate a tab?

I have a TPageControl with a TTabSheet. and in that TTabSheet i have a bunch of functions and components. I would like to duplicate that tabSheet at run time via a button with all the functions and components still in it and working. Right now I…
livelaughlove
  • 376
  • 3
  • 9
  • 21
0
votes
1 answer

Populate data of Default selected table row into another table

I have a requirement which consists of one table at the top and a tab-sheet which consists of 3 tabs at the bottom. Within 3 tabs contains 3 different tables, and my requirement here is a when clicked on the top table some related data must be…
Abhilash
  • 1
  • 1
0
votes
1 answer

DELPHI -how can i insert tlabeledit to dynamic tabsheet in TpageControl

i need to have this ini file which i mentioned it in my dynamic ttabsheet which i created it dynamically ! as you see ini file , it has three parts each start with 001-002-003 and then let those which start with 001 in first tabsheet , those start…
maxfido
  • 45
  • 5
0
votes
0 answers

How can i change the orientation of the caption inside the tab in the tabsheet in delphi?

I am trying to make a pagecontrol using delphi, the problem is when i switch the tabsheet's position to the sides the caption change too and i want it to be horizontal, any clue about how to do this ? Thanks in advance.
1
2