Help Contents / GUI programming / TextControls / TextControlSetCursor

TextControlSetCursor atextcontrol pos

Command to set the insertion point, the cursor, of the TextControl atextcontrol to the pos list, which consists of [column row]. 

Example: 

	t=(TextControl [][TextControl1] 
		[This is the initial text.][][] 
		wxTE_MULTILINE [0 0][300 200]) 
	TextControlSetCursor t [10 2] 
	TextControlWrite t [!That's the new text!] 


previous: TextControlCursor	next: TextControlInsertMode
