Class TCastleScrollView
Unit
Declaration
type TCastleScrollView = class(TCastleScrollViewCustom)
Description
Container for a user interface children that can be scrolled vertically. Add the children (that should be scrolled) to the ScrollArea. We automatically show a scrollbar, and handle various scrolling inputs to be functional on both desktops and mobile (we handle scrolling by keys, mouse wheel, dragging by scrollbar, dragging the whole area - see EnableDragging).
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleUserInterface
- TCastleScrollViewCustom
- TCastleScrollView
Overview
Methods
function GetPageSize: Single; override; |
|
function GetCompleteSize: Single; override; |
|
function GetScroll: Single; override; |
|
procedure SetScroll(Value: Single); override; |
|
function GetScrollStored: Boolean; override; |
|
constructor Create(AOwner: TComponent); override; |
Properties
property ClipChildren default true; |
|
property ScrollArea: TCastleScrollArea read FScrollArea; |
Description
Methods
function GetPageSize: Single; override; |
|
This item has no description. Showing description inherited from TCastleScrollViewCustom.GetPageSize. How much Scroll is represented by the height of the scrollbar slider. Among other things, this determines how much Scroll changes in response to Page Up and Page Down keys. |
function GetCompleteSize: Single; override; |
|
This item has no description. Showing description inherited from TCastleScrollViewCustom.GetCompleteSize. How much Scroll is represented by the height of the entire scrollbar (that is, the height of this TCastleScrollViewCustom instance). |
function GetScroll: Single; override; |
|
This item has no description. |
procedure SetScroll(Value: Single); override; |
|
This item has no description. |
function GetScrollStored: Boolean; override; |
|
This item has no description. |
constructor Create(AOwner: TComponent); override; |
|
This item has no description. |
Properties
property ClipChildren default true; |
|
Scroll view rendering makes sense only when |
property ScrollArea: TCastleScrollArea read FScrollArea; |
|
Children you add here will be scrolled. To have a useful scrolling area:
|
Generated by PasDoc 0.16.0-snapshot.