Page 5 of 5

HMG 3.3.0 (Stable) Patch 1

Posted: Fri Jun 06, 2014 11:10 am
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.

Re: HMG 3.3.0 (Stable) Patch 1

Posted: Fri Jun 06, 2014 1:33 pm
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.

Re: HMG 3.3.0 (Stable) Patch 1

Posted: Thu Jun 12, 2014 2:52 pm
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