Page 1 of 1

HMG4 and contrib libraries

Posted: Fri Mar 18, 2011 1:12 pm
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 )+....
Cheers

Re: HMG4 and contrib libraries

Posted: Sat Mar 19, 2011 3:38 am
by Rathinagiri
Ok Luigi. Thanks a lot for your suggestion.