Posted: Fri Jul 17, 2009 10:56 am Post subject: AlertWindow editor keybord issue.
I’m using latest juce. Mac 10.5.5
with 1.46 i have wrote:
AlertWindow* rename_window = new AlertWindow(T(“Program - rename”), T(“Enter program name”), AlertWindow::NoIcon);
rename_window->addTextEditor(T(“name”), T(""), T(“Maximum 31 characters”));
rename_window->addButton(T(“Ok”), 1, KeyPress::returnKey);
rename_window->addButton(T(“Cancel”), 2, KeyPress::escapeKey);
int pressed = rename_window->runModalLoop();
Code was worked.
At current moment with updates juce, i’ll got such bugs:
Alert window in not on top(for plugin it is under plugin UI). But it can be fixed with setAlwaysOnTop(true).
Editor on alert window can’t get keyboard focus. I can past data to it, copy from it, but there is no cursor in it. And it impossible to type in it.