Consulting

Results 1 to 6 of 6

Thread: Dotted lines on a userform

  1. #1

    Dotted lines on a userform

    I have created a simple userform with some fields that are used to update fields in the active document. I have also used some radio buttons to select a gender. When I use the form and select a radio button a dotted line appears around the selected button (see screen shot). Is there a way that I can stop this dotted line from appearing? I have looked through the radio button properties but can't find anything to turn it off.
    Thanks in advance.
    Male-Female.jpg

  2. #2
    Knowledge Base Approver VBAX Wizard
    Joined
    Apr 2012
    Posts
    5,645
    It might indicate you selected the optionbutton.

  3. #3
    It does indicate that - If I select the other option button then that one has the dotted border. What I want to do is to turn it off and just use the black dot to show that the option button was selected. Just trying to keep the display tidy.

  4. #4
    Knowledge Base Approver VBAX Wizard
    Joined
    Apr 2012
    Posts
    5,645
    The black dot shows it's value, not it being selected; if you select another control (e.g. a commandbutton), it's caption will be 'dotted'.

  5. #5
    VBAX Wizard
    Joined
    May 2004
    Posts
    6,713
    Location
    Sorry stevetalaga AFAIK this is not an toggleable option. As snb points out, it shows the control that is selected. I do think that it seems a bit silly. Or pointless.

  6. #6
    Thanks guys. It is a pity, especially for controls where I do not use the Caption. Here's an example of when I use a Check Box to enable / disable some option buttons and I get a small dotted rectangle on its own when the Check Box is the last control selected:
    Caption.jpg
    Just looks messy.
    Thanks for your answers.

Posting Permissions

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