#1
|
|||
|
|||
Trouble in Word Forms when mixing native and activeX controls
Hi
I'm trying to design a form using different kind of controls, like simple text fields (these directly present in the developer tab) and some activeX controls like option buttons. Here my simple form in example : Once "restrict Editing" is set to "Filling in forms" only, i've got a strange behavior : you're able to modify all the text fields, until you click an option buton, and then the text fields will become unchangeable Please have a look at the video a made here Sorry, word is in french but you'll understand my problem Or just play with my word file, see attached. I managed to get the textbox editable again by pressing SHIFT+TAB to higlight the textbox. Looks like a "focus" problem. I must say that if I deactivate the editing restriction, it is working fine that way. If you have an idea, I looked through different forums but couldn't find anything that explains this behavior. Thanks Rod |
#2
|
||||
|
||||
I tested your form and used tab and spacebar to select/unselect an option and it worked fine so I was wondering what was different. Then I found that using the mouse to move around in the fields when leaving the option buttons is where the problem arises. So I agree with you that it appears to be a focus problem and I don't know if there is a fix without using macros.
Instead, I would recommend you replace the ActiveX option buttons with the Content Control alternative - a Dropdown List Content Control is the most similar in functionality. I have no idea why Microsoft hasn't implemented an Option button equivalent in Content Controls - it seems like it would make a lot of sense for them to do so.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
Try the attached. I changed the protection. Removed the Filling in Forms protection (which in my opinion should seldom be used with anything except legacy forms) and instead selected everything and applied a Group Content Control from the Developer Tab.
Seems to work fine. The following references may be helpful but do not refer to your problem directly. If you need password protection (which is not that strong anyway) you could also have it set for No Changes, with exceptions for your option buttons and your Content Controls. |
#4
|
||||
|
||||
I can confirm that Charles' solution works for me too so that gives you a solution that better aligns with your original request and doesn't require any form redesign. However it has a secondary effect that you may want to consider. It doesn't allow the user to use Tab or Shift-Tab to move between form fields.
So I guess you need to decide if the majority of your users move around the form with Tab or with the Mouse.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#5
|
|||
|
|||
Quote:
This is an artifact, at least, in part, of using a Rich Text CC rather than a plain text CC. Rich Text controls capture the tab as a character inside the control. |
#6
|
|||
|
|||
Thank you guys for this collegial response, it will do the job perfectly !
Rod |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ActiveX Controls not showing when pasted from Word to Email Body | Skahtn | Word | 1 | 09-06-2017 02:41 PM |
Word VBA: ActiveX Controls Revert to Design Mode? | wlcdo2 | Word VBA | 3 | 01-23-2017 10:26 PM |
ActiveX controls on Worksheet stopped working | Johauuez | Excel Programming | 10 | 12-12-2014 08:57 PM |
Word Forms - Active X Controls - Drop Down Menu Value Assignments | AMackenzieFFCU | Word | 0 | 01-04-2013 08:25 AM |
Need help with placeholder text in ActiveX controls in Word | mhellerstein | Office | 0 | 11-02-2011 12:31 PM |