Results 1 to 3 of 3

Thread: Hiding images

  1. #1
    Join Date
    Apr 2004
    Posts
    182

    Unanswered: Hiding images

    Hi I am trying to hid one toggle button and show another when I click on them. It will work if they are side by side but not if they are over oneanother. I want it to look as if one is replacing the other. Here is the code.


    Private Sub tglCar_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Me!tglCar.Visible = False
    Me!tglMed.Visible = True
    Me.txtCaraghMed = False

    End Sub

    Private Sub tglMed_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)

    Me!tglCar.Visible = True
    Me!tglMed.Visible = False
    Me.txtCaraghMed = True

    End Sub

  2. #2
    Join Date
    Apr 2004
    Location
    Bucharest, Romania
    Posts
    16

    buttons

    You can try the db in attachment.
    I have find it on www.candance-tripp.com

    Hope it helps you.

    Daniel
    Attached Files Attached Files

  3. #3
    Join Date
    Apr 2004
    Posts
    182
    I dont think I explained my problem correctly. I have 2 toggle buttons with images and when I click on one I want it to be replaced by the second one.

Posting Permissions

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