Free Support Forum -

Checkboxes for Word 97

Is it possible to get a clickable CheckBox to show up in Word 97? What kind of code would I need? Thanks.

Checkboxes are inserted using DocumentBuilder.InsertCheckbox method.

For example, this line of code inserts checkbox labeled "Approved" with default value 'false' and autosized:

builder.InsertCheckBox("Yes", false, 0);

The checkbox you gave me shows a box, but I would like to know if there is a checkbox which the user can click on or off once the document has be created.

This checkbox indeed does not change state by one click. You need to double-click it and and change its state via appearing dialog box. As far as I know this is the only kind of checkbox in MS Word than can be part of the document text and change state on user interaction.