Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 05-26-2014, 03:09 PM
macropod's Avatar
macropod macropod is offline Performance problem ActiveX radio buttons Windows 7 32bit Performance problem ActiveX radio buttons Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by NobodysPerfect View Post
'my guys' won't accept the next button to be selected instead of the one they just clicked. Is there a chance to return to the control control just clicked (simulate the long-known radio button behaviour)?
You don't have to click on the next check-box at all. All you need do is exit the content control, by clicking anywhere else in the document.
Quote:
I tried with a bookmark on entry, but that - of course - fails, as each on entry creates a new bookmark. How can I bookmark the last (user) selected content control and then return to it?
I'm not sure why you'd want to do that, unless the idea is to allow the user to save the document, then come back to it later on. In that case, though, Shift-F5 should take you to do the last edit.

That said, adding a bookmark isn't at all difficult. For example, after:
If ContentControl.Type = wdContentControlCheckBox Then
in the 'ContentControlOnExit' macro, you could insert:
ActiveDocument.Bookmarks.Add Name:="LastUpdate", Range:=ContentControl.Range.Characters.Last.Next.N ext
Note that the same bookmark name is used in each case. Of course, you'd probably want to add some extra logic to test whether the exit state was different to the entry state. Just adding the above on its own will bookmark any checkbox you exit. Adding the logic would require modifying the ContentControlOnEnter macro to capture the entry state so it can be tested before doing the update.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
activex command buttons and text boxes TRG Word 0 02-03-2012 09:18 AM
Performance problem ActiveX radio buttons Office '03 + '07-->Performance? markg2 Office 1 08-04-2011 06:09 AM
Performance problem ActiveX radio buttons Excel problem with buttons AMD2800 Excel Programming 6 05-26-2011 07:47 AM
example of radio buttons in for data entry? derohanes Excel 1 03-05-2011 09:37 AM
Performance problem ActiveX radio buttons Radio (options button) problem Niros Excel 1 11-24-2005 09:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft