Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在CATextField和CATextView的attachWithIME()函数中没有对KEY_BOARD_RETURN_ENTER处理 #88

Open
iniwf opened this issue Jun 10, 2015 · 3 comments

Comments

@iniwf
Copy link

iniwf commented Jun 10, 2015

在CATextField和CATextView的attachWithIME()函数中没有对KEY_BOARD_RETURN_ENTER处理

@9miao
Copy link
Owner

9miao commented Jun 16, 2015

你想要怎么处理?

@iniwf
Copy link
Author

iniwf commented Jun 17, 2015

也就是说调用setKeyboardReturnType(KEY_BOARD_RETURN_ENTER);
键盘界面不会变成回车键,而是显示“完成”键

@iniwf
Copy link
Author

iniwf commented Jun 17, 2015

要在CATextField和CATextView的attachWithIME()函数中加入如下代码

else if (getKeyboardReturnType() == KEY_BOARD_RETURN_ENTER)
{
pGlView->setIMEKeyboardReturnEnter();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants