AutoFill in Text Box

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: AutoFill in Text Box

Post 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!!!
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: AutoFill in Text Box

Post 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
User avatar
mol
Posts: 3756
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: AutoFill in Text Box

Post 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?
User avatar
Rathinagiri
Posts: 5477
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: AutoFill in Text Box

Post by Rathinagiri »

You need to put only hfcl (not libhfcl)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3756
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: AutoFill in Text Box

Post by mol »

Strange :-) but it works!
Many thanks, Rathi
User avatar
Rathinagiri
Posts: 5477
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: AutoFill in Text Box

Post by Rathinagiri »

Actually, we need not put the prefix 'lib' while compiling. In other words, all the mingw libraries shall start with 'lib' prefix. ;)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply