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 »

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: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: VALID/WHEN in HMG3

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Re: VALID/WHEN in HMG3

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