Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

FONTID problem with color calculation

Posted on 2009-05-14
11
Medium Priority
?
328 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 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

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 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…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

730 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