Click or drag to resize

DataWindow.FieldGet Method (Typed)

X#
Retrieve the current value of the indicated control in this data window (and the data server field associated with this control, if any).

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

Parameters

uFieldID
Type: Usual
The name, number, or symbol representing the desired field.

Return Value

Type: Usual
The field's contents. The data type of the return value depends on the data type of the field.
Remarks
In data windows, controls (such as edit controls and check boxes) can be linked to the fields in the connected data server. Since the name of the control and the field are the same, FieldGet() can also be used to retrieve a control that is not connected to a server.
See Also