Subject: Color change possability?
Posted By: rolandatem Post Date: 11/15/2004 5:53:20 PM
Hi, I havent coded in VB for a while and am not sure if this was possible or not.

Is there a way to change partial letters in a label, without having multiple labels?.

For those of you who do html, Im asking about something like this:

<td style="color#000000;">
Hi this is <span style="color:#FF0000;">Rolandatem!</span>
</td>

I just want to have ONE label where some areas are different colored.

Reply By: SerranoG Reply Date: 11/16/2004 7:56:54 AM
Unless a third-party add-in can do that, Access does not allow for multicolored labels.  My suggestion is create one using another program that allows it, turn that into an image (e.g. JPG), and then import that image into your form.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
Reply By: marcostraf Reply Date: 11/19/2004 2:52:56 PM
instead of using a label, grab the OnPaint event and use multiple Me.Print statements setting me.forecolor

Me.currentx =  set the left postion
me.currenty = set the top position
me.forecolor = vbblack
me.print "this is black "
me.forecolor = vbred
me.print = "this is red"

Marco

Go to topic 20372

Return to index page 711
Return to index page 710
Return to index page 709
Return to index page 708
Return to index page 707
Return to index page 706
Return to index page 705
Return to index page 704
Return to index page 703
Return to index page 702