Scrolling Programmatically THorzScrollBox Firemonkey XE6


I have a THorzScrollBox in a form, and some TStyledControls inside. Each StyledControl has a Tag to identify. Using an TEdit to inform a value, I can find inside the ScrollBox an specific Control by his tag.

If the control that I searched is not on the screen, I want to scroll the ScrollBox to show it.

How can I do this programmatically?

Comments are closed.