Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Using ofSystemTextBoxDialog makes window lose focus

$
0
0

@jahyadotnet wrote:

If I use ofSystemTextBoxDialog, when I click OK or hit 'enter' the OF app window doesn't regain focus. Anyone else had this happen?

Code is simple:

string presetName = ofSystemTextBoxDialog("Preset name:");
if(presetName.length()) {
    //Do something
}

From a user perspective, it appears as though the app has become unresponsive to key commands. In reality all they have to do is click again on the window, but I don't want to have to make people do that as it's a shoddy user experience!

Anyone else had this problem?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles