Simulates "Set Confirm Off" and Overwrite in TextBoxes

HMG Samples and Enhancements

Moderator: Rathinagiri

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México
Has thanked: 1 time
Been thanked: 2 times

Re: Simulates "Set Confirm Off" and Overwrite in TextBoxes

Post by Javier Tovar » Sat Apr 05, 2014 6:29 pm

Gracias Mustafa por compartir! :D

Saludos

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César » Wed Apr 09, 2014 3:49 am

Some properties that MiniGUI Extend keep in different arrays, HMG has not easy to find. _HMG_SYSDATA is an very large array with a lot of informations.

To use SetConfOFF() without any parameter, I have adapted looking for such informations ready in MiniGui Extended:

_HMG_aControlRangeMax = Property with maximum size in TextBox ( MAXLENGTH )
_HMG_aControlInputMask = Keeps InputMask
_HMG_aControlDblClick = Function when OnEnter is actioned

Well, there is always a way of doing things. One of these properties got by using API and rest by _HMG_SYSDATA.

So I wish to share here with these elaborated control functions that could it be very useful.
Attachments
Screen.PNG
Screen.PNG (12.5 KiB) Viewed 2195 times
SetConfOFF (source files).rar
(1.45 KiB) Downloaded 151 times
Demo (Executable file).rar
(840.4 KiB) Downloaded 149 times
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
serge_girard
Posts: 2333
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 576 times
Been thanked: 124 times
Contact:

Post by serge_girard » Wed Apr 09, 2014 7:33 am

Pablo,

Thanks for sharing!


Serge

User avatar
mustafa
Posts: 829
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 117 times
Contact:

Post by mustafa » Wed Apr 09, 2014 8:57 am

Pablo César
Muy Bueno
Mustafa

EduardoLuis
Posts: 651
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina
Has thanked: 1 time
Been thanked: 61 times

Post by EduardoLuis » Wed Apr 09, 2014 1:09 pm

Pablo y Mustafa:

Excelentes contribuciones. Muy buenas ambas.- Mis felicitaciones y gracias por compartir.-
Eduardo

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México
Has thanked: 1 time
Been thanked: 2 times

Post by Javier Tovar » Thu Apr 10, 2014 4:57 pm

Excelente Pablo César, muy bueno! :D

Saludos

Post Reply