FONTCOLOR

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

FONTCOLOR

Post 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
martingz
Posts: 394
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Re: FONTCOLOR

Post 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
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: FONTCOLOR

Post by ROBROS »

Thank you.
That means I have to include this *.ch?
You find this using form with ide?

Robert
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: FONTCOLOR

Post by andyglezl »

You can see

\HMG\3.4.4\SAMPLES\Miscellaneous\Colors
Andrés González López
Desde Guadalajara, Jalisco. México.
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: FONTCOLOR

Post by ROBROS »

2 points for Mexico:
1 for martingz
1 for andyglezl

Thank you.

Robert
Last edited by ROBROS on Tue Jul 17, 2018 7:27 pm, edited 2 times in total.
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: FONTCOLOR

Post 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
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: FONTCOLOR

Post by serge_girard »

Thanks Robert, the same goes for me!

Serge
There's nothing you can do that can't be done...
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: FONTCOLOR

Post 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
Post Reply