Click or drag to resize

Window.EditScroll Method (Typed)

X#
Provide a method that is invoked for this window when an edit control is scrolled.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD EditScroll(
	oControlEvent AS ControlEvent
) AS USUAL
Request Example View Source

Parameters

oControlEvent
Type: ControlEvent
The ControlEvent object that identifies which edit control invoked the event handler.

Return Value

Type: Usual
This method calls Window.Default() and returns the result of Window.Default()
Remarks
Tip Tip
Important! This is a callback method used by X#. Normally, it should not be called in your application code.
This type of event normally happens when the user enters more characters in an edit control than it can display. In Windows, you must set flags in the resource entity description of the edit control to allow scrolling:
ConstantDescription
ES_AUTOHSCROLLAutomatically scrolls the text horizontally
ES_AUTOVSCROLLAutomatically scrolls the text vertically
WS_HSCROLLDisplays a horizontal scroll bar on the edit control
WS_VSCROLLDisplays a vertical scroll bar on the edit control
See Also