Brew Question: Download Brew PDF
How to move the cursor to the end of the text input?
Answer:
The cursor can be moved to the end of the string by continuously invoking ITEXTCTL_HandleEvent() method n times on the string, where n is the length of the string.
For example:
while(len) {
ITEXTCTL_HandleEvent(pMe->m_pIText, EVT_KEY,
AVK_RIGHT, dwParam);
len--;
}
For example:
while(len) {
ITEXTCTL_HandleEvent(pMe->m_pIText, EVT_KEY,
AVK_RIGHT, dwParam);
len--;
}
Previous Question | Next Question |
What is the transparent color on color and monochrome phones? | How to create a text control with horizontal and vertical scrollbars? |