Home » U++ Library support » TopWindow&PopUp, TrayIcon » BUG? EditInt / PromptOK not functioning as thought?
Re: BUG? EditInt / PromptOK not functioning as thought? [message #48079 is a reply to message #48077] |
Sun, 14 May 2017 21:33 |
|
Hi Peter,
I haven't check the code, but if I remember it correctly the check you perform should actually look like this: if (IsNull(value)) {
PromptOK("Invalid number!");
return;
}
else
PromptOK("Number accepted!");
The edit field returns Null value when it is empty, invalid or outside of the allowed range.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sat May 04 17:20:38 CEST 2024
Total time taken to generate the page: 0.02045 seconds
|