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 ![Go to previous message Go to previous message](theme/default/images/up.png) ![Go to next message Go to previous message](theme/default/images/down.png) |
|
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: Sun Sep 01 05:37:09 CEST 2024
Total time taken to generate the page: 0.00388 seconds
|