Page 4 of 4

Re: AutoFill in Text Box

Posted: Mon May 11, 2009 6:09 pm
by Vanguarda
esgici wrote:Hola Vanguarda
Vanguarda wrote: thanks for sharing this function... it is very amazing. will help me a lot
No thank required, everything is for community,

Viva HMG, viva Roberto :!: :D

Regards

--

Esgici

Viva!!!

Re: AutoFill in Text Box

Posted: Mon May 11, 2009 9:22 pm
by luisvasquezcl
Hello everybody,
my bit ....
You can also place the control on the basis of focus.

LOCAL cFrm := ThisWindow.Name, cTxt := ThisWindow.FocusedControl

LOCAL cTxBValue := GetProperty( cFrm, cTxt, "Value" ),; // Text Box Value
nCarePos := GetProperty( cFrm, cTxt, "CaretPos" ),; // Text Box CaretPos
cCurval := ''
Regards,
Luis VAsquez

Hola a todos,
mi granito de arena....
Tambien se puede ubicar el control en base al foco.

LOCAL cFrm := ThisWindow.Name, cTxt := ThisWindow.FocusedControl

LOCAL cTxBValue := GetProperty( cFrm, cTxt, "Value" ),; // Text Box Value
nCarePos := GetProperty( cFrm, cTxt, "CaretPos" ),; // Text Box CaretPos
cCurval := ''
Regards,
Luis VAsquez

Re: AutoFill in Text Box

Posted: Fri May 22, 2009 6:11 am
by mol
Hi guys!
I have a problem to compile Autofill with HMG_IDE.
I put libhlcl.a in c:\hmg\lib
I set preferences of IDE:
additional libraries: libhfcl
and always get error: cannot find -llibhfcl

Image

What's going on?

Re: AutoFill in Text Box

Posted: Fri May 22, 2009 6:29 am
by Rathinagiri
You need to put only hfcl (not libhfcl)

Re: AutoFill in Text Box

Posted: Fri May 22, 2009 8:38 am
by mol
Strange :-) but it works!
Many thanks, Rathi

Re: AutoFill in Text Box

Posted: Fri May 22, 2009 8:49 am
by Rathinagiri
Actually, we need not put the prefix 'lib' while compiling. In other words, all the mingw libraries shall start with 'lib' prefix. ;)