Custom Controls - Play Button
-
Hi Using VS2005 - Visual Basic I'd like to make a control like a button, but that looks like the Play, Stop, Record, Pause, Skip Forward and Skip Backward. I'd like to be able to resize the button, and the images must resize. I's like to be able to set the color of the button as well as the color of the image that shows the fuction of the button. It only needs a click event. I'd like to be able to add it under user controls. I'd like to be able to set the 'function' I'd like to be able to use the control as follows: myButton.Style = myButton.Styles.Play myButton.Forecolor = Color.Red myButton.Backcolor = Color.Gray So far I have: Opened a new project Chose 'Windows User Control' Placed a normal button on the form What do I do next???
-
Hi Using VS2005 - Visual Basic I'd like to make a control like a button, but that looks like the Play, Stop, Record, Pause, Skip Forward and Skip Backward. I'd like to be able to resize the button, and the images must resize. I's like to be able to set the color of the button as well as the color of the image that shows the fuction of the button. It only needs a click event. I'd like to be able to add it under user controls. I'd like to be able to set the 'function' I'd like to be able to use the control as follows: myButton.Style = myButton.Styles.Play myButton.Forecolor = Color.Red myButton.Backcolor = Color.Gray So far I have: Opened a new project Chose 'Windows User Control' Placed a normal button on the form What do I do next???
check out: http://www.codeproject.com/cs/miscctrl/Ribbon_Panel.asp[^] You probably are thinking that's not what I want (I know it's a ribbon control) BUT the devoloper creats his ribbonbuttons himself (draws them, does the eventhandling,...) and that is what you want (you will need to adjust a bit but take a look at this code and you should be able to adjust it to what you want)
-
check out: http://www.codeproject.com/cs/miscctrl/Ribbon_Panel.asp[^] You probably are thinking that's not what I want (I know it's a ribbon control) BUT the devoloper creats his ribbonbuttons himself (draws them, does the eventhandling,...) and that is what you want (you will need to adjust a bit but take a look at this code and you should be able to adjust it to what you want)
Thanks for your reply. I'm pretty much a novice, and battle enough with Visual Basic, so trying to cope with C# is a bit beyond me. Do you know of anything in VB?
-
Thanks for your reply. I'm pretty much a novice, and battle enough with Visual Basic, so trying to cope with C# is a bit beyond me. Do you know of anything in VB?
just use a online converter and it should go fine I always use this one: http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx[^] if you can't get it to convert provide me with an email (you can mail me from this site) and then I will send my version of a ribbon button (is in vb.net)