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.
Pass SCMAD in first attampt. Download free practice test for SUN SCMAD Mobile Application Developer exam.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.