Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?



Button Click


5 replies to this topic - - - - -

#1 Sarkhan Vol

    Awesome

  • 30 posts
  • Joined: 14-October 12

Posted 02 January 2013 - 15:47

i am using an image for the background of a button, but when the button is clicked, there is an event i want to remove which is a switch from my image to nothing with a blue tint that flashes... when the button is click i just want my image to show, how do you change the clicked and hoover controls for buttons?


#2 nik louch

    ..:::..:::..:::..

  • 31,390 posts
  • Joined: 14-January 03
  • Location: Leicester, UK
  • OS: Windows 7, OSX, Android, Ubuntu
  • Phone: Galaxy Note II

Posted 02 January 2013 - 16:14

In what language???

#3 -Alex-

    Noob Hunter

  • 2,760 posts
  • Joined: 08-August 06
  • Location: Oslo, Norway

Posted 02 January 2013 - 17:19

^ this

#4 OP Sarkhan Vol

    Awesome

  • 30 posts
  • Joined: 14-October 12

Posted 03 January 2013 - 10:44

sorry C# visual studio 2010

#5 firey

    Neowinian UNSTOPPABLE

  • 5,367 posts
  • Joined: 30-October 05
  • Location: Ontario, Canada
  • OS: Windows 7
  • Phone: Android (4.1.2)

Posted 03 January 2013 - 13:28

if you set FlatStyle property to Flat. And the FlatAppearance Border Width to 0 [on the button], that should do what you want.

There is also "MouseHover" events that you can modify to do that, but the above steps is much easier.

#6 OP Sarkhan Vol

    Awesome

  • 30 posts
  • Joined: 14-October 12

Posted 03 January 2013 - 14:17

View Postfirey, on 03 January 2013 - 13:28, said:

if you set FlatStyle property to Flat. And the FlatAppearance Border Width to 0 [on the button], that should do what you want.

There is also "MouseHover" events that you can modify to do that, but the above steps is much easier.

what about in a WPF how do you change these values