Page 1 of 1

FONTCOLOR

Posted: Mon Jul 16, 2018 7:42 pm
by ROBROS
Hi friends,

with your help I have learned a lot, I'm able to make useful apps with gui user interface. But now I want to make the screen a bit more spicy, give colors to controls.
For example: textbox [ FONTCOLOR <aFontColor> ]
aFontColor sure is an array, but which values give the expected color?

Are there samples, could not find any.

I hope for your help, thx.

Robert

Re: FONTCOLOR

Posted: Mon Jul 16, 2018 8:14 pm
by martingz
aFontColor = {R,G,B}
in i_color.ch found colors , when i search a specific color , use a form , in propierties back color i chose R,G,B values to found my color
and replace this in aFontColor

Re: FONTCOLOR

Posted: Mon Jul 16, 2018 8:17 pm
by ROBROS
Thank you.
That means I have to include this *.ch?
You find this using form with ide?

Robert

Re: FONTCOLOR

Posted: Mon Jul 16, 2018 8:32 pm
by andyglezl
You can see

\HMG\3.4.4\SAMPLES\Miscellaneous\Colors

Re: FONTCOLOR

Posted: Mon Jul 16, 2018 8:35 pm
by ROBROS
2 points for Mexico:
1 for martingz
1 for andyglezl

Thank you.

Robert

Re: FONTCOLOR

Posted: Mon Jul 16, 2018 8:48 pm
by ROBROS
HMG Forum:
I'm glad that I have joined, otherwise I surely would have given up. I'm 65 years old now coming from DOS and Borland dBase 5.0 for DOS. I never was a professional developer. And now I'm learning, how great CLIPPER was, and I can make apps for 64 bit windows. :D

Thx to all.

Robert

Re: FONTCOLOR

Posted: Tue Jul 17, 2018 7:37 am
by serge_girard
Thanks Robert, the same goes for me!

Serge

Re: FONTCOLOR

Posted: Tue Jul 17, 2018 8:47 am
by ROBROS
Serge,
it is always a pleasure to hear from you, all of your (and of course of other guys) suggestions helped me a lot.

Robert