U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » TopWindow&PopUp, TrayIcon » BUG? EditInt / PromptOK not functioning as thought?
Re: BUG? EditInt / PromptOK not functioning as thought? [message #48077 is a reply to message #48076] Sun, 14 May 2017 21:17 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1119
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

It is classical example of "Working as design bug". When you use Min and Max attribute of EditField you don't need to control the validation of the field value. It will happen automatically and if the number is wrong it will mark the field with red co and hook at the end of window life time. I am not 100% certain when the prompt will be displayed, but i based on my previous experience.

So if you want to disable this validation - simply remove Min and Max from the EditField layout property.

Sincerely,
Klugier


U++ - one framework to rule them all.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug: TopWindow::IsFullscreen is not working under GTK
Next Topic: How often is Update called? Is there a similiar frequently called method?
Goto Forum:
  


Current Time: Fri Sep 11 22:48:28 GMT+2 2026

Total time taken to generate the page: 0.00733 seconds