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
0
votes
1 answer

Dynamically add panel control to a dynamic tabsheet (C++ Builder Rad Studio)?

I have a problem getting the tabPage->Name value, because it will generate when user click the button, first block of my code will create new tabsheet inside PageControl3 and then I use the static int tabNumber; by if condition to generate the…
Nazari
  • 438
  • 1
  • 9
  • 20
0
votes
1 answer

Adding controls to TPageControl within TabSheet1Show

When I try to add controls to an already existing TTabSheet at runtime, these controls stay invisible when they are added within the OnShow event of TTabSheet. Steps to reproduce: Add a TPageControl to a TForm in the designer Add 3 TTabSheet…
Herwig
  • 316
  • 1
  • 17
0
votes
1 answer

How to create Vaadin tabsheet without components?

I need the functionality of a Vaadin Tabsheet. But don't need a component for each tab. Instead, I have only one component (separate table) and it will be manipulated with the tab sheet actions. For now, I have assigned hidden labels to tabs. Is…
udakarajd
  • 114
  • 11
0
votes
1 answer

EBusError on assigning PageControl fpc/Lazaurs

I am trying to create dynamic TTabSheets for my program. Written in FPC/Lazarus being built for ARM/WinCE Everything works, including design time created tabsheets but the following code try Tab := TTabSheet.Create(PageControl1); …
Christopher Chase
  • 2,840
  • 6
  • 36
  • 57
0
votes
2 answers

How to dynamically create customized TabSheet runtime

I would like to create a TTabsheet which has to be create during run time. The TTabSheet has several components, but all of these components will be identical on every tab. Is it possible to create a "type" variable which will create these tabs…
Marnu123
  • 77
  • 2
  • 10
0
votes
1 answer

Components added to TcxTabSheet are not displayed at runtime when TcxPageControl is hosted in a TFrame

I am building a re-usable TFrame which contains a TcxPageControl. The idea is the frame is dropped onto the form and then I can add pages specific to that form. This works fine, I can successfully add pages through the designer and at runtime those…
James
  • 80,725
  • 18
  • 167
  • 237
0
votes
1 answer

How to scroll a TTabSheet

I'd like to scroll an individual TabSheet within a PageControl if the height of the sheet becomes less than a value. If I put a ScrollBox on the TabSheet, the themed background of the TabSheet is not painted (it's overwritten by the single color…
Steve
  • 2,510
  • 4
  • 34
  • 53
0
votes
1 answer

How can I get the color for a themed tabsheet

How can I determine the background color of a TTabSheet when running on a OS with themes like XP and above?
Heinz Z.
  • 1,537
  • 3
  • 14
  • 29
0
votes
1 answer

Delphi check if Tabsheet has finished loading data before making a clipboard picture

I am working in Delphi XE3. I have made a loop that goes through a Pagecontrol with 6 tabsheets, that has frames with a lot of edit boxes which load mdb data. When looping through the pages I make a "screen cut" image of the active tab and place…
Svarve
  • 35
  • 3
0
votes
2 answers

How to safe add a Tabsheet to a PageControl in TIdCmdTCPServer OnConnect event?

I want to add a Tabsheet dynamically to a PageControl when a client connected to my IdCmdTCPServer same as this code: procedure TForm1.IdCmdTCPServer1Connect(AContext: TIdContext); var ATabSheet: TTabSheet; begin ATabSheet :=…
Farshad H.
  • 303
  • 4
  • 16
1
2