Xbasic

Text Functions

Description

Text object methods.

Methods

TEXT.DELETE Method

The OBJECT.DELETE() method is used with an Xdialog text control. It cuts the currently selected text from the contents of the VariableName text variable.

TEXT.GET_CURSOR Method

The OBJECT.GET_CURSOR() method is used with an Xdialog text control. It returns the position of the cursor in the VariableName text variable.

TEXT.GET_SELECT Method

The OBJECT.GET_SELECT() method is used with an Xdialog text control. It returns the currently selected text in the VariableName text variable.

TEXT.INSERT_TEXT Method

The OBJECT.INSERT_TEXT() method is used with an Xdialog text control. It inserts the TextString at the position of the cursor in the VariableName text variable.

TEXT.PASTE Method

The OBJECT.PASTE() method is used with an Xdialog text control. It inserts the text contents of the Clip Board at the position of the cursor in the VariableName text variable.

TEXT.REPLACE_TEXT Method

The OBJECT.REPLACE_TEXT() method is used with an Xdialog text control. It inserts the TextString at the location of the currently selected text in the VariableName text variable.

TEXT.SELECT Method

The OBJECT.SELECT() method is used with an Xdialog text control. It highlights text in the VariableName text variable.

TEXT.SET_CURSOR Method

The OBJECT.SET_CURSOR() method is used with an Xdialog text control. It sets the location of the cursor the in the VariableName text variable and sets focus to the text control.

TEXT.SHOW_CARET Method

The OBJECT.SHOW_CARET() method is used with an Xdialog text control. It displays the cursor in the VariableName text variable, causing the text box to scroll if it is not currently visible.