how to change the shape of button
buttonhow to change the shape of button
Page 1 of 1
6 Replies - 1788 Views - Last Post: 20 January 2010 - 01:54 AM
Replies To: button
#3
Re: button
Posted 13 January 2010 - 05:51 PM
Basically you can remove the style and use picture with your own style.
Or you can use OCXs of more stylish buttons (the isButton is a great one)
Or you can use OCXs of more stylish buttons (the isButton is a great one)
#4
Re: button
Posted 19 January 2010 - 01:10 AM
you can insert a circle or rectangle shape from the Visual Basic PowerPacks in the Toolbox. Then you can add an event handler of clicking to any of them so they act as a button like this:
Good Luck,
Sram
Public Class Form1 Private Sub OvalShape1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OvalShape1.Click ( Add your code here.) End Sub Private Sub RectangleShape1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RectangleShape1.Click ( Add your code here.) End Sub End Class
Good Luck,
Sram
#6
Re: button
Posted 20 January 2010 - 01:18 AM
to change the back shape click on the button and from image import any picture for your background
#7
Re: button
Posted 20 January 2010 - 01:54 AM
shweta_lect, on 12 Jan, 2010 - 11:22 PM, said:
how to change the shape of button
You don't mention what shape ? ?
If you provide more info, it avoids some of us providing useless guesses.
This might be one of those useless guesses -
You could add a Shape control and set it's BackStyle to Opaque.
You then could place a Label over it, and set it's BackStyle to Transparent.
You use the Label's Caption, to provide the Caption.
You use the Label's Click event to insert your code.
HTH,
Rob
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|