Yes you are right Rathi, this was missing correction, specially when use SetProperty in Numeric TextBox.Rathinagiri wrote:Claudio, there is a small fix to h_controlmisc.prg with regard to numeric textbox.
When the value is assigned decimals are truncated.
Here is the fix. Change the following line No. 514 with the following:
Line with problem:
Fix:Code: Select all
SetWindowText ( c , ALLTRIM(STR(Int(value))) )
Code: Select all
SetWindowText ( c , ALLTRIM(STR(value)) )
HMG 3.3.0 (Stable) Patch 1
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.3.0 (Stable) Patch 1
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMG 3.3.0 (Stable) Patch 1
Done.Rathinagiri wrote:Claudio, there is a small fix to h_controlmisc.prg with regard to numeric textbox.
When the value is assigned decimals are truncated.
Here is the fix. Change the following line No. 514 with the following:
Line with problem:
Fix:Code: Select all
SetWindowText ( c , ALLTRIM(STR(Int(value))) )
Code: Select all
SetWindowText ( c , ALLTRIM(STR(value)) )
- danielmaximiliano
- Posts: 2613
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: HMG 3.3.0 (Stable) Patch 1
Hola a todos :
estoy mirando file:///C:/hmg.3.3.0/doc/data/index.htm la seccion Read Keyboard and Mouse
en un lugar dice :
Hello everyone:
'm looking at file :/ / / C :/ hmg.3.3.0/doc/data/index.htm Read the section Keyboard and Mouse
in a place says:
donde genero el manejador hWnd , ya que necesito generar un funcion generica que usen varias ventanas
where gender handler hWnd , and I need to generate a generic function using multiple windows
estoy mirando file:///C:/hmg.3.3.0/doc/data/index.htm la seccion Read Keyboard and Mouse
en un lugar dice :
Hello everyone:
'm looking at file :/ / / C :/ hmg.3.3.0/doc/data/index.htm Read the section Keyboard and Mouse
in a place says:
Complementary Functions:
- Gets Form/Control Name and Form Parent Name by window handle (complement, e.g. to the read keyboard functions):
- GetFormNameByHandle ( hWnd, @cFormName, @cFormParentName ) --> Return nFormIndex
- GetControlNameByHandle ( hWnd, @cControlName, @cFormParentName ) --> Return nControlIndex
donde genero el manejador hWnd , ya que necesito generar un funcion generica que usen varias ventanas
where gender handler hWnd , and I need to generate a generic function using multiple windows
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO