HMG 3.3.0 (Stable) Patch 1

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.3.0 (Stable) Patch 1

Post by Pablo César »

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:

Code: Select all

        SetWindowText ( c , ALLTRIM(STR(Int(value))) )
Fix:

Code: Select all

        SetWindowText ( c , ALLTRIM(STR(value)) )
Yes you are right Rathi, this was missing correction, specially when use SetProperty in Numeric TextBox.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.3.0 (Stable) Patch 1

Post by srvet_claudio »

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:

Code: Select all

        SetWindowText ( c , ALLTRIM(STR(Int(value))) )
Fix:

Code: Select all

        SetWindowText ( c , ALLTRIM(STR(value)) )
Done.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
danielmaximiliano
Posts: 2607
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG 3.3.0 (Stable) Patch 1

Post by danielmaximiliano »

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:

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