Questions tagged [scrollbox]
8 questions
2
votes
1 answer
Why does TFramedScrollBox always return number of controls as 2 only in FMX?
I have to know number of controls placed inside a TFramedScrollBox control container.
When I use the code TFramedScrollBox.ControlsCount. It always return the value 2. Why?
I want to use the for loop and iterate through each control and set a few…

Yogi Yang 007
- 5,147
- 10
- 56
- 77
1
vote
0 answers
kable_styling breaks table width setting, especially with scroll_box
If I need a bit of control about table width, due to automatic multirow not always working great, I can display wider than 100% table with a scroll_box. I can manually control the table width by setting table.attr = 'style="width: 200%"', i.e. the…

Petr Hála
- 11
- 1
1
vote
1 answer
Creating Controls in a TScrollBox at Runtime Starts to ReOrder
I'm using Delphi 10.1 and Firemonkey and looking to add controls to a TScrollBox at Runtime and have come across some strange behaviors.
For this example I create Labels and add them to a TScroll box.
The Label is set as TAlignLayout.Top so I assume…

Yuppski
- 137
- 2
- 10
0
votes
1 answer
Scrolling a Form in Delphi FMX for Android
The form has a ScrollBox. Several Layouts (Align: Top) are placed on the ScrollBox. 4 Labels are placed in Layout. The overall width of the Label is greater than the width of the Android screen. When the application starts, only the vertical scroll…

Андрей Быковский
- 21
- 4
0
votes
2 answers
How to speed up UI rendering in Delphi
I use a TScrollBox as a list and a TFrame as the Items and I will generate the frames in runtime. The Frame I'm using consists a 3.6KB SVG-Image and some Lables and EditBoxes. As a test, I generated the list with 1000 items in FormShow like…

Mahan
- 135
- 7
0
votes
1 answer
Maximum number of components in a ScrollBox (TScrollBox)
I have developed a program that uses a TScrollBox component to produce a "railway layout". This route is made up of many small figures, each of which represents a single segment of track (according to the idea of railway modeling).
I noticed that…
0
votes
1 answer
Assigning TScrollBox event during runtime - incompatible types
Using RAD Studio 10.4.2:
I create TScrollBox during runtime:
TScrollBox* sb = new TScrollBox(this);
sb->Parent = this;
sb->Align = alClient;
sb->AlignWithMargins = true;
sb->Margins->SetBounds(3,3,3,3);
sb->BorderStyle =…

Coder12345
- 3,431
- 3
- 33
- 73
0
votes
1 answer
C++ UE4 - Add child to SSscrollbox
I am trying to add dynamically a child in a SScrollBox but I get error.
TSharedRef MainCanvas = SNew(SScrollBox);
TSharedRef < SButton> TestButton = SNew(SButton);
MainCanvas->AddChild(TestButton); //AddChild not defined
It seems that…

SNos
- 3,430
- 5
- 42
- 92