Shape Effect on Toggle Buttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • drus
    New Member
    • Apr 2014
    • 2

    Shape Effect on Toggle Buttons

    - (post 1)
    I have a questions database. On my Form, I have an Option Group with 4 toggles for the correct answers. Each of the toggles, is tied to the Answer's column in the database. Currently, I have Shape Effect => Bevel => Circle for all 4 buttons no matter what their value is. I cannot figure out a way to change to Shape Effect => Bevel => Relaxed Inset if a specific toggle button is set to the Answer.

    - (post 2)
    I have an option group with four toggle buttons. I am trying to change the shape of the toggle button based on the value of the option group.

    Code:
    Private Sub optgroup_Answers_BeforeUpdate()
        Select Case Me.optgroup_Answers
            Case 1
                Me.toggleA.Bevel = BevelEffectRelaxedInset
            Case 2
                Me.toggleB.Bevel = BevelEffectRelaxedInset
            Case 3
                Me.toggleC.Bevel = BevelEffectRelaxedInset
            Case 4
                Me.toggleD.Bevel = BevelEffectRelaxedInset
        End Select
    End Sub
    -
    [imgnothumb]http://bytes.com/attachment.php? attachmentid=75 80 [/imgnothumb]
    Attached Files
    Last edited by zmbd; Apr 11 '14, 01:02 AM. Reason: [z{merging related posts from merged thread}]
  • jimatqsi
    Moderator Top Contributor
    • Oct 2006
    • 1288

    #2
    drus,
    You've presented a situation, but no question.

    Jim
    Last edited by zmbd; Apr 11 '14, 01:05 AM. Reason: [z{merged threads, now this one has a question (^_^)}]

    Comment

    • zmbd
      Recognized Expert Moderator Expert
      • Mar 2012
      • 5501

      #3
      version of access/office?

      Comment

      Working...