Questions tagged [tscrollbox]

41 questions
0
votes
1 answer

C++Builder TMouseWheelEvent compiler error

No matter how I attempt to use it, I cannot dynamically create a TScrollBox and assign an OnMouseWheelEvent handler to it. I get the following compiler error: E2034 Cannot convert 'void (_fastcall * (_closure )(TObject *,TShiftState,int,TPoint…
Brian P.
  • 206
  • 3
  • 14
0
votes
3 answers

How to keep label smoothly centered in scrollbox?

I use a TMemo in TScrollBox to show some text, and a TLabel on top as a header info. Sometimes memo is wider than scroll box and of course Horizontal scroll bar can be used to scroll left and right to see text in memo. I want to have a label as a…
Mike Torrettinni
  • 1,816
  • 2
  • 17
  • 47
0
votes
1 answer

get empty parent name in firemonkey if parent is an scrollbox

how can i get parent name if parent is scrollbox.The following example return empty: ShowMessage(Image1.Parent.Name);
M.MARAMI
  • 95
  • 9
0
votes
0 answers

Move Tscrollbox whit TMemo, TEdit.. how?

Good evening, I have a problem in my FMX android Application developed with Delphi XE6. I have a TScrollBox and inside of it there are some TMemo.when you step on the TMemo I lose the focus on the scrollbox and does not move the scrollbox. how can…
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
0 answers

TScrollBox scroll in runtime using buttons and mouse

Hi guys after 3 days of not finding the right answer i come to you for help :) , so my question is this i have a TScrollBox component in my form and i create TImage components at FormCreate event this fills up the Scroll-box with components but when…
AirWolf
  • 597
  • 7
  • 27
0
votes
1 answer

What is the idea behind loading large amount of data in a Scroll Box?

I'm using Delphi XE3, and trying to create a massaging application same as outlook type, but when I try to load the Tscroll box with data about 2000 record it's getting so slow! How can outlook scrolbox hold that much of data without being slow or…
Dreamer64
  • 923
  • 2
  • 13
  • 30
0
votes
1 answer

Using TScrollBox to Contain TExpander components

Well i have one scrollbox aligned to left of my form, inside the scrollbox i have TExpander components aligned to Top, this expanders exceed the area of the scrollbox so i guess the scrollbars must be visibles but they aren't. I think the problem…
-1
votes
1 answer

MDIChild Form always behind ScrollBox

Based in this my working code, now i need of a ScrollBox component and a Image component inside he. Eg: The problem now is the ScrollBox. The MDIChild Form always stays behind, you can test, changing ScrollBox Align (None/Client) property. Then…
FLASHCODER
  • 1
  • 7
  • 24
-1
votes
1 answer

Two columns for components in a TScrollBox, Delphi

I wanted something like the attached scenario, where user can drag and drop a UI component(TImage) run time (Not from Tool Palette). We were using TScrollBox until now. However, I was not able to split it into two parts to accommodate the attached…
-2
votes
1 answer

How draw a rectangle/hole in a "Form3" using coordinates of a PaintBox present in "Form2"?

I have a "Form2" that have a ScrollBox and a PaintBox. Also exists another Form called "Form3" (also with a PaintBox inside) that have the ScrollBox of "Form2" as your parent. Then i need draw a rectangle => hole over "Form3" based on coordinates of…
user10752826
1 2
3