Hmmmm

 

I think the problem was more the fact that I need to know how to change R G
and B into the colour that the rich text uses.

 

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
Richard
Sent: 23 August 2005 17:19
To: [email protected]
Subject: [lists] [vbhelp] Re: Rich text help please

 

Hi, Chris.

One thing to try is to dim the color as three variables, all of type 
BYTE (numbers, range 0-255).  Red, Green and Blue are the 
three "primary colors of light".  You would create a variable for 
each of those colors, and the range for saturation is 255  *bytRed 
would hold the Red value, bytGreen the green, and bytBlue the blue 
value.  Then you can figure out from the RGB value what the real 
color is.    

*byt is a standard Leszinski-Reddick (Hungarian) notation code for 
the variable type Byte (numbers, range 0-255).  There are others, 
such as "str" for "String", "txt" for "Textbox" (object) "int" 
for "Integer", "lng" for "Long Integer", "dbl" for "Double" "sin" for 
Single, "chk" for "checkbox" (object), "bln" for "boolean", "cbo" 
for "combobox" (object), "opt" for "option button" (object), 
and "frm" for "Form" (object).  There are others besides those; that 
was just to give a sampling.  The ones that don't have (object) after 
them are variable types.  There are many books that cover naming 
conventions, though the books may not necessarily be completely 
related to VB - one of the books I have that has a great table of the 
naming prefixes is an Access book, "Microsoft Access Version 2002: 
Inside Out" by Helen Ferrema (ISBN 0-7356-1283-8) 

Hope this helps!
Richard





'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================





SPONSORED LINKS 


Programming
<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Programming+la
nguages&w2=C+programming+language&w3=Computer+programming+languages&w4=Java+
programming+language&w5=C+++programming+language&w6=History+of+computer+prog
ramming+language&c=6&s=198&.sig=hjFSMmldhVc3zrT5SqL9xQ>  languages 

C
<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Programming+l
anguages&w2=C+programming+language&w3=Computer+programming+languages&w4=Java
+programming+language&w5=C+++programming+language&w6=History+of+computer+pro
gramming+language&c=6&s=198&.sig=td85HQ93XfErfw7wfLZ86A>  programming
language 

Computer
<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Progr
amming+languages&w2=C+programming+language&w3=Computer+programming+languages
&w4=Java+programming+language&w5=C+++programming+language&w6=History+of+comp
uter+programming+language&c=6&s=198&.sig=BMtgOo7dpsC1xzn1YgpBPg>
programming languages 


Java
<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Programmin
g+languages&w2=C+programming+language&w3=Computer+programming+languages&w4=J
ava+programming+language&w5=C+++programming+language&w6=History+of+computer+
programming+language&c=6&s=198&.sig=8IuywkhSLTtpB6_iFiJoCQ>  programming
language 

C
<http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=Programming
+languages&w2=C+programming+language&w3=Computer+programming+languages&w4=Ja
va+programming+language&w5=C+++programming+language&w6=History+of+computer+p
rogramming+language&c=6&s=198&.sig=jpmDiGf8qD8AqZNqFwDO7w>  programming
language 

History
<http://groups.yahoo.com/gads?t=ms&k=History+of+computer+programming+languag
e&w1=Programming+languages&w2=C+programming+language&w3=Computer+programming
+languages&w4=Java+programming+language&w5=C+++programming+language&w6=Histo
ry+of+computer+programming+language&c=6&s=198&.sig=9slR1_vZJlvyOINA4iLkow>
of computer programming language 

 

  _____  

YAHOO! GROUPS LINKS 

 

*        Visit your group "vbhelp <http://groups.yahoo.com/group/vbhelp> "
on the web.
  
*        To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
  
*        Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service. 

 

  _____  


  ----------

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.14/79 - Release Date: 8/22/2005


[Non-text portions of this message have been removed]





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hk4rbu3/M=362335.6886445.7839731.1510227/D=groups/S=1705115364:TM/Y=YAHOO/EXP=1124832495/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to