HMG4 and contrib libraries

Moderator: Rathinagiri

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

HMG4 and contrib libraries

Post by l3whmg »

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

Post by Rathinagiri »

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