Questions tagged [tscrollbox]
41 questions
2
votes
2 answers
C++ builder scrollbox component respond to mouse wheel
I was looking for an option to make mouse wheel work with scrollbox component, so far I got this
void __fastcall TForm1::ScrollBox1MouseWheelDown(TObject *Sender, TShiftState Shift,
TPoint &MousePos, bool &Handled)
{
…

Nikosis
- 21
- 1
- 4
1
vote
1 answer
Keep a bitmap on a fixed position in TScrollBox
I put al kinds of frames on a TScrollBox. When scrolling they are being scrolled correctly. Now I want to add an bitmap that remains on a fixed postion. I tried a TImage having the same parent (a TPanel) as the TScrollBox. I do not see the bitmap…

Arnold
- 4,578
- 6
- 52
- 91
1
vote
0 answers
Delphi - Issue rendering TPanel descendant in TScrollBox (32K pixel limit)
I am new here and hope that I am following the right protocol and asking the question correctly. I am posting this question separately here as I do not have the appropriate privileges to post a comment against the original issue listed/linked…

Rohit
- 909
- 1
- 9
- 20
1
vote
2 answers
Stop and restore updating in TScrollBox?
Since Vcl.Forms.TScrollBox does not have BeginUpdate / EndUpdate methods, I use this code to reduce flickering while loading a document in a viewer which is a child of TScrollBox container:
procedure MyLockWinControl(const WC:…

user1580348
- 5,721
- 4
- 43
- 105
1
vote
2 answers
How do I reset the scrolling after removing images in TScrollBox?
I have a Delphi form with a TScrollBox and some TImage components, and the form's scrollbox is not resetting when it's emptied... it appears to be growing every time a new image is thrown in the box.
I would like to reset the scroll range/size to…

Joseph Poirier
- 386
- 2
- 17
1
vote
3 answers
How do I make the scroll bars show up on a TScrollBox?
The TScrollBox control looks like it's supposed to basically be a TPanel with scroll bars attached along the bottom and the right edge. I tried placing one on a form, but no matter what I do, I can't make the scroll bars actually appear, either at…

Mason Wheeler
- 82,511
- 50
- 270
- 477
0
votes
0 answers
Empty borders on the sides of the image on Scrollbox ( Delphi, Android )
I can't solve the problem, please help.
I take a photo through TakePhotoFromCameraAction and upload the photo to TImage:
procedure TForm1.TakePhotoFromCameraAction1DidFinishTaking(Image: TBitmap);
begin
ViewForm.Image1.Bitmap.Assign(Image);
…

Alex
- 1
- 1
- 2
0
votes
1 answer
Scaling contents in FMX TScrollBox
A Scrollbox containing a series of TImageControls stacked vertically. When I scale the images and readjust the ImageControl positions, the Scrollbox.contents does not size properly. If I scale less than 1, there is extra space at the bottom; when it…

PABEIER
- 17
- 3
0
votes
0 answers
How to change TScrollBox horizonal scrollbar size (width or height) in Delphi under Windows 10?
I want to change the TScrollBox scrollbar size - I was using this:
Uses
CommCtrl;
....
InitializeFlatSB(Scrollbox1.handle);
FlatSB_SetScrollProp(Scrollbox1.Handle, WSB_PROP_CXVSCROLL, 10, true);
...but I think that it's not working anymore…

Issam
- 133
- 8
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
How to get selected form from a TScrollBox in Delphi?
I am creating some forms inside a scroll box, dynamically.
When I click on a created form I want to get some values that are stored in that particular form to the parent form. Is this possible? If so, how can I do it?
I hope it doesn't sound…

opc0de
- 11,557
- 14
- 94
- 187
0
votes
1 answer
Delphi VCL horizontal container (gallery like) of components (TDBCtrlGrid, TScrollBox)?
I am using Delphi 2009 and I have set (of variable length) of records with the data and I would like to present those records in gallery-like structurei with the horizontal scroll of the entire list and, possibly, with no…

TomR
- 2,696
- 6
- 34
- 87
0
votes
2 answers
Firemonkey ListView scrollbar visibility
In the Firemonkey's TListview the visibility of the scroll bar depends whether the system has a touch screen. How can I override this behavior and show vertical scrolling always when there is not enough room on the list view to display all list…

Schneider Infosystems Ltd
- 1,487
- 16
- 24
0
votes
1 answer
How to scroll TListview inside THorzScrollBox?
I am trying to put TListView inside THorzScrollBox (In c++ builder fmx project).
The issue is when i do this i loos the ability to scroll down on TListView.
Is there any way to solve this problem?

Taavi Tilgre
- 21
- 5
0
votes
0 answers
Different Results of TScrollBox Population in Delphi and Lazarus
I populate ScrollBoxin the alike way:
procedure TForm1.FormCreate(Sender: TObject);
var
i: word;
begin
for i := 1 to 3 do
begin
with TLabel.Create(ScrollBox1) do
begin
Parent := ScrollBox1;
Top := 1000;
AutoSize :=…

asd-tm
- 3,381
- 2
- 24
- 41