MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laTextFieldWidget_SetCursorPosition Function
MPLAB® Harmony Graphics Suite
laTextFieldWidget_SetCursorPosition Function

The cursor will appear to the left of the character at pos

C
LIB_EXPORT laResult laTextFieldWidget_SetCursorPosition(
    laTextFieldWidget* txt, 
    uint32_t pos
);
Parameters
Parameters 
Description 
laTextFieldWidget* txt 
the widget 
uint32_t pos 
the position of the cursor in character indices 
Returns

laResult - the operation result

MPLAB® Harmony Graphics Suite