Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

FONTID problem with color calculation

Posted on 2009-05-14
11
Medium Priority
?
330 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
  • 6
  • 5
11 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 210 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
Technology Partners: 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
 

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 210 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses
Course of the Month6 days, 10 hours left to enroll

782 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