Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
2 questions
Hi,
How do i add the following: 1) A check box that by a single click I mark it and unmark it 2) A text (or a text box) that has a built in text that when I click it, the text disappears. Thanks, Assaf. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
2 questions
On 12 jan, 09:11, assaf1978
wrote: Hi, How do i add the following: 1) A check box that by a single click I mark it and unmark it 2) A text (or a text box) that has a built in text that when I click it, the text disappears. Thanks, Assaf. In Word 2007, you can find controls on the Developer tag. If you don't have a developer tag, click the Office button in Word, choose Word options, and select "Show developer tab in the ribbon" from the popular tab. There is a checkbox which does what you want. The textbox needs some extra coding. You can set its default text using the Text property. In the code window, you would handle the MouseUp event. ' === Begin code === Private Sub TextBox1_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single) If TextBox1.Text = "Default text" Then TextBox1.Text = "" End If End Sub ' === End code === Yves |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
2 questions
Much depends on how you intend to use the document. Both can be addressed
with a protected form, or if you require free editing in the document, with macrobutton fields http://www.gmayor.com/Macrobutton.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org assaf1978 wrote: Hi, How do i add the following: 1) A check box that by a single click I mark it and unmark it 2) A text (or a text box) that has a built in text that when I click it, the text disappears. Thanks, Assaf. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
2 questions
Can you please tell me how both of them can co-exist under protected form?
when I protect the document to use the check box, I cannot edit text.... "Graham Mayor" wrote: Much depends on how you intend to use the document. Both can be addressed with a protected form, or if you require free editing in the document, with macrobutton fields http://www.gmayor.com/Macrobutton.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org assaf1978 wrote: Hi, How do i add the following: 1) A check box that by a single click I mark it and unmark it 2) A text (or a text box) that has a built in text that when I click it, the text disappears. Thanks, Assaf. |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
2 questions
They can't both co-exist. You either use a protected form with form fields
or macrobutton fields. The link I posted earlier shows how to create checkable boxes with the latter. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org assaf1978 wrote: Can you please tell me how both of them can co-exist under protected form? when I protect the document to use the check box, I cannot edit text.... "Graham Mayor" wrote: Much depends on how you intend to use the document. Both can be addressed with a protected form, or if you require free editing in the document, with macrobutton fields http://www.gmayor.com/Macrobutton.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org assaf1978 wrote: Hi, How do i add the following: 1) A check box that by a single click I mark it and unmark it 2) A text (or a text box) that has a built in text that when I click it, the text disappears. Thanks, Assaf. |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
2 questions
You have a choice: you can use form fields, which allows you to have a
single-click check box, but then you have to add text form fields where you want text entry, and you have to protect the document. Or you can use MacroButton fields, which don't require document protection. They allow you to click in the field and replace it, but the check box requires macros (see http://gregmaxey.mvps.org/Add_Toggle_Objects.htm) and also requires a double-click to check/uncheck. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "assaf1978" wrote in message ... Can you please tell me how both of them can co-exist under protected form? when I protect the document to use the check box, I cannot edit text.... "Graham Mayor" wrote: Much depends on how you intend to use the document. Both can be addressed with a protected form, or if you require free editing in the document, with macrobutton fields http://www.gmayor.com/Macrobutton.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org assaf1978 wrote: Hi, How do i add the following: 1) A check box that by a single click I mark it and unmark it 2) A text (or a text box) that has a built in text that when I click it, the text disappears. Thanks, Assaf. |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
2 questions
If you want to go with macrobutton fields, you can set an option to make
them use a single-click instead of a double-click. This is described in the section "Double-click or single-click" of http://www.word.mvps.org/FAQs/TblsFl...nksInForms.htm. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Suzanne S. Barnhill wrote: You have a choice: you can use form fields, which allows you to have a single-click check box, but then you have to add text form fields where you want text entry, and you have to protect the document. Or you can use MacroButton fields, which don't require document protection. They allow you to click in the field and replace it, but the check box requires macros (see http://gregmaxey.mvps.org/Add_Toggle_Objects.htm) and also requires a double-click to check/uncheck. "assaf1978" wrote in message ... Can you please tell me how both of them can co-exist under protected form? when I protect the document to use the check box, I cannot edit text.... "Graham Mayor" wrote: Much depends on how you intend to use the document. Both can be addressed with a protected form, or if you require free editing in the document, with macrobutton fields http://www.gmayor.com/Macrobutton.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org assaf1978 wrote: Hi, How do i add the following: 1) A check box that by a single click I mark it and unmark it 2) A text (or a text box) that has a built in text that when I click it, the text disappears. Thanks, Assaf. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
questions | New Users | |||
Two TOC questions | Microsoft Word Help | |||
Questions | Microsoft Word Help | |||
Three questions...? | Microsoft Word Help | |||
2 questions | New Users |