Table of Contents

TTMSFNCMemoScrollOptions Class

Configures the scroll bar visibility, size, and mouse-wheel behaviour of the code editor control.

API unit family: TMSFNCMemo Inherits from: TPersistent

Syntax

TTMSFNCMemoScrollOptions = class(TPersistent)

Properties

Name Description
HandleMouseWheel When True, the mouse wheel scrolls the editor content; set to False to let the wheel event bubble to the parent control.
Horizontal Visibility mode of the horizontal scroll bar: soAuto shows it only when needed, soVisible always shows it, soHidden hides it.
HorizontalScrollbarSize Pixel height of the horizontal scroll bar track; default is 10.
ScrollByPage When True, the mouse wheel scrolls by one page at a time instead of by a fixed number of lines.
Vertical Visibility mode of the vertical scroll bar: soAuto shows it only when needed, soVisible always shows it, soHidden hides it.
VerticalScrollbarSize Pixel width of the vertical scroll bar track; default is 10.

Methods

Name Description
ToJSString Serializes the scroll options to a Monaco editor JSON configuration string for use in the web-layer initialization call.