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 » Mon May 11, 2009 6:09 pm

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: 1002
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 5 times
Been thanked: 11 times
Contact:

Post by luisvasquezcl » Mon May 11, 2009 9:22 pm

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: 2753
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 95 times
Been thanked: 36 times
Contact:

Post by mol » Fri May 22, 2009 6:11 am

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: 5105
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 95 times
Been thanked: 107 times
Contact:

Post by Rathinagiri » Fri May 22, 2009 6:29 am

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: 2753
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 95 times
Been thanked: 36 times
Contact:

Post by mol » Fri May 22, 2009 8:38 am

Strange :-) but it works!
Many thanks, Rathi

User avatar
Rathinagiri
Posts: 5105
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 95 times
Been thanked: 107 times
Contact:

Post by Rathinagiri » Fri May 22, 2009 8:49 am

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

Who is online

Users browsing this forum: No registered users and 1 guest