disappearing image

  • 14 years ago

    Just wondering if someone could tell me how to make an image disappear and reappear at the click of a button?

    Many thanks Smiley Face [:)]

  • 14 years ago
    Hi
     Its simple.
     In the Command button click event you should write the coding like the follwoing.

        If Picture1.Visible = True Then
            Picture1.Visible = False
        Else
            Picture1.Visible = True
        End If






    Good Luck

    Regards
    Hari K











Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Java is to JavaScript what Car is to Carpet.” - Chris Heilmann