+ Reply to Thread
Results 1 to 3 of 3

Deselecting Command Buttons in Frames

Hybrid View

  1. #1
    Registered User
    Join Date
    06-07-2011
    Location
    Los Angeles
    MS-Off Ver
    Excel 2003
    Posts
    56

    Deselecting Command Buttons in Frames

    Hi All,

    How do you go about deselecting command buttons that are in frames. For example, when I pull up my form, there is 1 button that is like default "selected." It has a bolder border and a dotted line around the text. When I click another button, that one becomes like that. If I have buttons in other frames, and I click those then those become bold/dotted line. However since they are in other frames, it doesn't un-bold the ones in the other frames.

    Essentially I would not like there to be any that are bold or have the dotted line. I want it so they are just a button and when you press it, it does what is necessary, (you can still see the button go in and out upon the click event) but doesn't reamain bold and have the dotted line like it is the selected button afterwards.

    -Andrew

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,996

    Re: Deselecting Command Buttons in Frames

    Set the TakeFocusOnClick property to False for each button.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: Deselecting Command Buttons in Frames

    You might find that you also have to insert a dummy control (customised so it is not seen by the user) with a tabindex of 0 within each container.
    Hope that helps,

    Colin

    RAD Excel Blog

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1