Solved

FONTID problem with color calculation

Posted on 2009-05-14
11
323 Views
Last Modified: 2013-12-18
I am getting Color byte = 117 after using FontGetColor macro on fontid. But this value doesn't match to any of NOTES_COLOR_XXX. SO how can I calculate the color from FONTID?
In notes peek I can see it is displaying exact color.
SOrry it is for notes 7
0
Comment
Question by:prpradip
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 70 total points
ID: 24390900
http://www.keysolutions.com/notesFAQ/cancolor.html

Sadly, I don't know the hex-values for these colors...
0
 

Author Comment

by:prpradip
ID: 24404754
any better way please?
0
 

Author Comment

by:prpradip
ID: 24405715
is there any way to get the color in RGB using color code like 117 (in my case)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24405763
0
 

Author Comment

by:prpradip
ID: 24408896
I need a code to convert that the value of color code to real color.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24409610
How about developing it yourself?? And then publish it?

Here's a way: create a screen that contains squares of all possible colour numbers, view it in a browser, use a colour picker to get the RGB values, put it in a table, and use that table in your code.
0
 

Author Comment

by:prpradip
ID: 24418901
Hey I have spent plenty of time to do so without success
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24419236
0
 

Author Comment

by:prpradip
ID: 24419583
Thank you
Ya, I am spending more time and now begin to stop.
0
 

Author Comment

by:prpradip
ID: 24419862
Finally I found it. It uses the 140 color value index to do so. But I am still not satisfied because I am not getting API or list to do so.
0
 
LVL 46

Assisted Solution

by:Sjef Bosman
Sjef Bosman earned 70 total points
ID: 24419898
Be pragmatic. It is probably hard-coded in Notes, so do the same and document your code well. Or publish (part of) it in some forum.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question