TFrame is a VCL visual control acting as a container for components. It can be nested within forms or other frames. It is defined in Forms.pas unit.
Questions tagged [tframe]
72 questions
0
votes
0 answers
DELPHI.. Create Multiple tabsheet with same child control at runtime
I have been looking for how to create multiple tabsheet where for every tabsheet I created has the same components therein. I understand how to create a new tabsheet, but what I need is to make tabsheet and all their child components.
I have tried…

Tommy Sayugo
- 375
- 2
- 5
- 16
0
votes
2 answers
Problem with size of a Toolbar2000 with an embedded Frame
I have Jordan Russel's Toolbar2000 toolbars that I create at runtime with an embedded TFrame and dock on the application main form. This frame has an embedded pane that in turn
contains other panels and various controls. So the structure…

rossmcm
- 5,493
- 10
- 55
- 118
0
votes
1 answer
(Delphi FMX) How can I refresh my Frame Object inside a TabControl.TabItem without losing control of the window?
This application is intended initially for a Windows environment.
While having used only the initial code on the link mentioned below, I had to resorted to replacing the code to accept TabControls/TabItems (FMX) and not using PageControls/TabSheet…

Barry Dick
- 161
- 3
- 16
0
votes
1 answer
bring to back doesnt work in c++ builder bcb6
I have a TFrame with some components on it, and among all it I have a TPanel and a TPaintBox such that the PaintBox size is the same as the Panel.
I would like that user will see the Panel and not only the PaintBox.
The problem is that when I right…

user687459
- 143
- 5
- 17
0
votes
1 answer
Place the created frame in the panel in the run time
I know how to create frame in the design time and place it in the panel in the runtime in Delphi. As for C++ Builder, It looked difficult as I am not familiar with C++ scripts. Please advise how to do the right way?
Thanks in advance

user1739825
- 820
- 4
- 10
- 27
0
votes
1 answer
Advancing control focus in a VCL TFrame
I have a TFrame on which some TEdits are placed. These edits are
boxes for serial key input, as I'm trying to setup a user experience
where input focus jumps from one edit box to the next, when a certain amount of
characters been entered in each.…

Totte Karlsson
- 1,261
- 1
- 20
- 55
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
Delphi XE5, how do I get frames defined in a package into th component palette
2 things are my problem
1) a have a TMyframe=class(TFrame) defined in a package, but this frame is not listed in the frame palette.
So I registered my class from a designtime package using several methods none of which appeared to do what I want.…

H.Hasenack
- 1,094
- 8
- 27
0
votes
1 answer
Delphi 2010 Can I have a TFrame with Generic properties and methods to pass an event?
I have a TFrame that I use for searching for entities in a Delphi 2010 VCL project, in the TFrame I have a button edit, that allows the user to open a specific form to browse for that entity. (All the browse forms inherit from a common base browse…

reckface
- 5,678
- 4
- 36
- 62
-1
votes
1 answer
How do you make a TFrame's OnResize event occur when it first appears?
I have a frame that is being placed on a form. I expect to be placing a number of instances of this frame on the form.
It has a drawgrid with 2 columns and in the OnResize event I make the 2nd column extend to the end of the available space. That…

Mark Patterson
- 417
- 2
- 6
- 15
-2
votes
1 answer
Inherited frames - missing properties
I have a project which consists of numerous different frames. Some of those frames are inherited from each other. Here's the basic setup:
TBaseFrame
TFrame1
TFrame1A
TFrame1B
TFrame2
TFrame2A
...and so on.
Everything was working fine and…

Jerry Dodge
- 26,858
- 31
- 155
- 327
-3
votes
2 answers
Using TFrame, how do I properly access the TCanvas property just as in a TForm?
I need to draw on the frames Canvas at runtime just like you would do with a normal form but for some reason they decided not to add the Canvas property to the frame even tho both TCustomFrame and TCustomForm come from the same parent class that…

Peter
- 2,977
- 1
- 17
- 29