What is the getCaretPosition() method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the getCaretPosition() method?
Rating:
The getCaretPosition() method is a method of the TextBox class. It is used to extract the current position of the cursor within a TextField or a TextBox. The general syntax of this method is as follows:
It returns an integer value indicating the position of the cursor.
Rating:
Was this information helpful?
Other articles
- What is the newMessage() method?
- What is WMA?
- What is the createPlayer() method?
- What is over-the-air (OTA) provisioning?
- What is the setCurrent() method?