VALID/WHEN in HMG3

Moderator: Rathinagiri

Post Reply
mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

VALID/WHEN in HMG3

Post by mrduck » Fri Nov 18, 2011 3:39 pm

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

User avatar
danielmaximiliano
Posts: 2153
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 162 times
Been thanked: 26 times
Contact:

Post by danielmaximiliano » Fri Nov 18, 2011 4:00 pm

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
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Post by mrduck » Fri Nov 18, 2011 4:05 pm

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...

Post Reply