Window.EditScroll Method (Typed) | |
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.21
Syntax VIRTUAL METHOD EditScroll(
oControlEvent AS ControlEvent
) AS USUAL
public virtual Usual EditScroll(
ControlEvent oControlEvent
)
Request Example
View SourceParameters
- oControlEvent
- Type: ControlEvent
The ControlEvent object that identifies which edit control invoked the event handler.
Return Value
Type:
UsualThis method calls Window.Default() and returns the result of Window.Default()
Remarks 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:
Constant | Description |
---|
ES_AUTOHSCROLL | Automatically scrolls the text horizontally |
ES_AUTOVSCROLL | Automatically scrolls the text vertically |
WS_HSCROLL | Displays a horizontal scroll bar on the edit control |
WS_VSCROLL | Displays a vertical scroll bar on the edit control |
See Also