Label - ForeColor Property

D

DebbiePartridge

Hi All

Is it possible to programatically change the forecolor property of
label to be that of the highlight color set in the Windows syste
palette? I know I can change this manually but need to be able to do i
via the code. I am using this feature to indicate mandatory fields in
form but these vary according to responses received elsewhere in th
form.

Many thanks
Debbi
 
D

Doug Robbins - Word MVP

I don't know about the highlight color, but you can set the forecolor of a
label by using

[labelname].ForeColor = 4966415

for example

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top