InkEdit.ScrollBars property
Gets or sets the type of scroll bars, if any, to display in the InkEdit control.
This property is read/write.
Syntax
HRESULT put_ScrollBars(
[in] ScrollBarsConstants newVal
);
HRESULT get_ScrollBars(
[out, retval] ScrollBarsConstants *pVal
);
Property value
A value of type ScrollBarsConstants enumeration, which indicates the types of scroll bars, if any, to display.
This property is read/write at design time, but read-only at run time.
Remarks
For an InkEdit control with setting rtfHorizontal, rtfVertical, or rtfBoth, you must set the MultiLine property to TRUE.
At run time, the Windows operating environment automatically implements a standard keyboard interface to allow navigation in InkEdit controls with the arrow keys (UP ARROW, DOWN ARROW, LEFT ARROW, and RIGHT ARROW), the HOME and END keys, and so on.
Scroll bars are displayed only if the contents of the InkEdit control extend beyond the control's borders. If ScrollBars is set to FALSE, the control won't have scroll bars, regardless of its contents.
Requirements
|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|
See also