Click or drag to resize

DialogWindow.EditFocusChange Method

X#
Provide a method that is invoked when the input focus changes to or from an edit control.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD EditFocusChange(
	oEditFocusChangeEvent
) AS USUAL CLIPPER
Request Example View Source

Parameters

oEditFocusChangeEvent (Optional)
Type: Usual
The EditFocusChangeEvent object that identifies which edit control generated the EditFocusChangeEvent object and whether it has just gained or lost the keyboard focus.

Return Value

Type: Usual
Remarks
Tip Tip
Important! This is a callback method used by X#. Normally, it should not be called in your application code.
If DialogWindow:EditFocusChange() is used to validate an edit control (and also return the focus to it if invalid), Control:SetFocus() should not be called until another control has received the focus. In complex dialog windows that contain many edit controls, it makes sense to grab the edit control's text when the focus is changing so that other controls can be updated with it if necessary.
See Also