HMG4 and contrib libraries

Moderator: Rathinagiri

Post Reply
User avatar
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy

HMG4 and contrib libraries

Post by l3whmg » Fri Mar 18, 2011 1:12 pm

Hi friends,
today I compile the last version from SVN.
I would suggest to minimize the dependencies on other libraries. Where this is necessary, highlight it very well.

Having said that, I would like to suggest this change:
Inside window.prg and control.prg we use "NTOC...." function. It comes form HbCt library. I think we can use harbour function "hb_numtohex". For example

Code: Select all

SetStylesheet( 'background-color:#'+NTOC( aValue[1],16,2,"0" )+....
can be transformed into

Code: Select all

SetStylesheet( 'background-color:#'+hb_numtohex( aValue[1], 2 )+....
Luigi from Italy

User avatar
Posts: 5264
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times

Post by Rathinagiri » Sat Mar 19, 2011 3:38 am

Ok Luigi. Thanks a lot for your suggestion.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply