locked
How to change button appearance? RRS feed

  • Question

  • I need to change button appearance after it was clicked. Before I click, it is Standard style but after clicked, it became flat.

     

    The purpose of this is as an indicator so that users recognize that they has clicked the button.

     

    How to do that?

     

    Thank you very much..

    Tuesday, February 5, 2008 3:34 AM

Answers

  • Code Snippet

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    Button1.FlatStyle = FlatStyle.Flat

    End Sub

     

     

     

    Tuesday, February 5, 2008 3:44 AM