How do i hide the help text in Content Control (word 2007) docx ?

S

Sahridhayan

I have used lot of content controls from "Developer" tool bar.

like Single line, multi line , datepicker,etc (not activex controls)

it shows some help text in the backgroun "Click here", "Enter a date or
choose a date"...

Once i enter a value it vanishes, but then, i want to remove it once i save
it.

or any way we can switch of this help text ?

Thanks in advance,

Sahridhayan
 
P

Peter Jamieson

As far as I know the best you can easily do is reduce the placeholder
text to a single character, such as a space. You can do that by entering
design mode (Developer tab->Controls->Design mode) then directly editing
the placeholder text in each control.

FWIW if the user leaves the placeholder text in place when the content
controls are filled, you can still detect in VBA that the content
control value is unmodified by looking at the ShowingPlaceholderText
property of the control, which will be True. If you use a space as the
placeholder and the user actually types a space in the control,
ShowPlaceholderText returns false.

Peter Jamieson

http://tips.pjmsn.me.uk
Visit Londinium at http://www.ralphwatson.tv
 

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