type ICefScrollView = interface(ICefView)
A ScrollView will show horizontal and/or vertical scrollbars when necessary based on the size of the attached content view. Methods must be called on the browser process UI thread unless otherwise indicated.
UNKNOWN
<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_scroll_view_capi.h">CEF source file: /include/capi/views/cef_scroll_view_capi.h (cef_scroll_view_t))
| Public | procedure SetContentView(const view: ICefView); |
| Public | function GetContentView: ICefView; |
| Public | function GetVisibleContentRect: TCefRect; |
| Public | function HasHorizontalScrollbar: boolean; |
| Public | function GetHorizontalScrollbarHeight: Integer; |
| Public | function HasVerticalScrollbar: boolean; |
| Public | function GetVerticalScrollbarWidth: Integer; |
| Public | property ContentView : ICefView read GetContentView write SetContentView; |
| Public | property VisibleContentRect : TCefRect read GetVisibleContentRect; |
| Public | property HorizontalScrollbarHeight : Integer read GetHorizontalScrollbarHeight; |
| Public | property VerticalScrollbarWidth : Integer read GetVerticalScrollbarWidth; |
| Public | procedure SetContentView(const view: ICefView); |
|
Set the content View. The content View must have a specified size (e.g. via ICefView.SetBounds or ICefViewDelegate.GetPreferredSize). Attributes
| |
| Public | function GetContentView: ICefView; |
|
Returns the content View. | |
| Public | function GetVisibleContentRect: TCefRect; |
|
Returns the visible region of the content View. | |
| Public | function HasHorizontalScrollbar: boolean; |
|
Returns true (1) if the horizontal scrollbar is currently showing. | |
| Public | function GetHorizontalScrollbarHeight: Integer; |
|
Returns the height of the horizontal scrollbar. | |
| Public | function HasVerticalScrollbar: boolean; |
|
Returns true (1) if the vertical scrollbar is currently showing. | |
| Public | function GetVerticalScrollbarWidth: Integer; |
|
Returns the width of the vertical scrollbar. | |
| Public | property ContentView : ICefView read GetContentView write SetContentView; |
|
Returns the content View. | |
| Public | property VisibleContentRect : TCefRect read GetVisibleContentRect; |
|
Returns the visible region of the content View. | |
| Public | property HorizontalScrollbarHeight : Integer read GetHorizontalScrollbarHeight; |
|
Returns the height of the horizontal scrollbar. | |
| Public | property VerticalScrollbarWidth : Integer read GetVerticalScrollbarWidth; |
|
Returns the width of the vertical scrollbar. | |