ControlContext :: textPosition - Text position
The text position is the cursor position in a text edit control. The position is provided as point coordinates (line,column). Both, line and column start with 1, i.e. the first character in a text has position (1,1) .
Return value: Point ( odabagui::Point )
The point defines the vertical and the horizontal position in an rectangle.
Implementation overview
- Get current text position
ControlContext :: textPosition (  ) - Change text position
ControlContext :: textPosition ( cPoint )
Implementation details
-
Get current text position
odabagui::Point ControlContext  :: textPosition (  )
The function returns the position of the cursor in a text control. When the control is not a text edit control, an exception is thrown..
to list
-
Change text position
odabagui::Point ControlContext  :: textPosition ( odabagui::Point &cPoint )
The function changes the cursor position to the value passed in cPoint .
- cPoint - Constant area position
to list