![]() You can change this to a single click when the document is opened in an AutoOpen macro. Just change the character numbers and the font name.īy default a MacroButton field triggers on double click. If you don't like the checkboxes I chose, you can pick something else from Insert/Symbols/Symbol. ![]() Here's some sample code to get you started. And the reverse again for the next click. Clicking the field would exchange that character for a different one, that looks checked. If, as your question indicates, this is too complex for your purposes you could use a MacroButton field that displays a font character (Symbol) that looks like a checkbox. The only way to emulate "onChange" for a Content Control is to link the content control to a node in a CustomXMLPart in the document then work with the Document_ContentControlBeforeStoreUpdate event that triggers when the content of the node in the CustomXMLPart is going to be changed. Similarly to form fields, the code for ContentControls fires when the control is entered/exited. ![]() Content Controls do not have "onChange" events, so you can't get a content control to behave like the ActiveX checkbox in a simple manner.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |