Page 1 of 1

VALID/WHEN in HMG3

Posted: Fri Nov 18, 2011 3:39 pm
by mrduck
Hi everybody,
since I'm not a hmg4 user I need to ask you

In HMG3 is implemented some sort of WHEN/VALID ? I mean, using native commands, like onLostFocus/onGotFocus.

With VALID I mean that you can't leave the line edit if the condition is false ! and with WHEN that you can't enter the line edit....

If you implemented it in your own code, or created some alternative implementation, can you please show me how ?

Thanks
Francesco

Re: VALID/WHEN in HMG3

Posted: Fri Nov 18, 2011 4:00 pm
by danielmaximiliano
Hola Francesco :
puede mirar aqui http://hmgforum.com/viewtopic.php?f=5&t=1243
viene desde mi pregunta http://hmgforum.com/viewtopic.php?f=24&t=1443
espero que le sirva


Hi Francesco:
can look here [url] http://hmgforum.com/viewtopic.php?f=5&t=1243 [/ url]
My question comes from [url] http://hmgforum.com/viewtopic.php?f=24&t=1443 [/ url]
I hope it serves

Re: VALID/WHEN in HMG3

Posted: Fri Nov 18, 2011 4:05 pm
by mrduck
danielmaximiliano wrote:Hola Francesco :
Ok thanks

Unfortunately in Qt is not easy to do a setFocus during a onLostFocus event... Let's find a solution...