[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Aligns the specified control to its parent and scrolls it into view.
Source position: forms.pp line 196
public procedure TScrollingWinControl.ScrollInView( |
AControl: TControl |
); |
AControl |
|
Control to make visible in the scrolling window control. |
ScrollInView is a method used to align and scroll the control in AControl into the visible area for the scrolling window control. No actions are performed in the method under the following conditions:
The origin for AControl relative to its Parent is determined by calling the ClientToParent method. OffsetRect is called to apply the offset to the display rectangle for AControl. The adjusted coordinates are used to reposition the visible scroll bars so that AControl is visible in the client area for the scrolling window control.
|
The vertical scroll bar for the control. |
|
|
The horizontal scroll bar for the control. |
|
|
Aligns the controls which have the class instance as their parent. |
|
|
Position of the slider, 0..Range-Page. |
|
|
Converts the specified client coordinates to the screen coordinates for the specified parent control. |
|
|
Move Left/Right by dx, Top/Bottom by dy. Return Top and Left are >= 0. |