Home » U++ Library support » TopWindow&PopUp, TrayIcon » BUG? EditInt / PromptOK not functioning as thought?
Re: BUG? EditInt / PromptOK not functioning as thought? [message #48087 is a reply to message #48081] |
Mon, 15 May 2017 20:37   |
Zbych
Messages: 328 Registered: July 2009
|
Senior Member |
|
|
ptkacz wrote on Mon, 15 May 2017 05:21As long as the value that's populated within the edit field is outside the specified range on the edit field, one has to correct the problem, or one can't exit out of the application when selecting the close application button (i.e. 'x')
I must admit that this behaviour is really annoying, you can set Rejector to IDCANCEL in window constructor to disable it:
Bug1::Bug1()
{
Rejector(*this, IDCANCEL);//<-----------------------
CtrlLayout(*this, "Bug1 Window");
submitButton << THISBACK(buttonClicked);
}
[Updated on: Mon, 15 May 2017 20:42] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Oct 17 04:21:33 CEST 2025
Total time taken to generate the page: 0.07224 seconds
|