FONTCOLOR

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
ROBROS
Posts: 118
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 43 times
Been thanked: 9 times

FONTCOLOR

Post by ROBROS » Mon Jul 16, 2018 7:42 pm

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: 234
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico
Has thanked: 12 times
Been thanked: 9 times

Post by martingz » Mon Jul 16, 2018 8:14 pm

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: 118
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 43 times
Been thanked: 9 times

Post by ROBROS » Mon Jul 16, 2018 8:17 pm

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

Robert

User avatar
andyglezl
Posts: 969
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 20 times
Been thanked: 40 times
Contact:

Post by andyglezl » Mon Jul 16, 2018 8:32 pm

You can see

\HMG\3.4.4\SAMPLES\Miscellaneous\Colors
Andrés González López
Desde Guadalajara, Jalisco. México.

ROBROS
Posts: 118
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 43 times
Been thanked: 9 times

Post by ROBROS » Mon Jul 16, 2018 8:35 pm

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: 118
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 43 times
Been thanked: 9 times

Post by ROBROS » Mon Jul 16, 2018 8:48 pm

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: 2078
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 428 times
Been thanked: 91 times
Contact:

Post by serge_girard » Tue Jul 17, 2018 7:37 am

Thanks Robert, the same goes for me!

Serge

ROBROS
Posts: 118
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 43 times
Been thanked: 9 times

Post by ROBROS » Tue Jul 17, 2018 8:47 am

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