Custom Radio button / Check box
-
Hi, I need to add some custom tweaks to the regular windows radio button and check box. Basically, i need to tamper with the colours throughout the different events (roll over, disabled,selected...) and cater for the size of the control as well as the distance between the control and its text. I am inheriting my control from the usual System.Windows.Forms.RadioButtton/CheckBox. Can you please give me a tutorial or example that i can follow to achieve this? Thanks beforehand. :doh: Yours truly, Krugger
-
Hi, I need to add some custom tweaks to the regular windows radio button and check box. Basically, i need to tamper with the colours throughout the different events (roll over, disabled,selected...) and cater for the size of the control as well as the distance between the control and its text. I am inheriting my control from the usual System.Windows.Forms.RadioButtton/CheckBox. Can you please give me a tutorial or example that i can follow to achieve this? Thanks beforehand. :doh: Yours truly, Krugger
You should write your own controls which inherit from the controls you mentioned and extend their functionality. Perhaps you will need to override OnPaint event
#region signature my articles #endregion
-
You should write your own controls which inherit from the controls you mentioned and extend their functionality. Perhaps you will need to override OnPaint event
#region signature my articles #endregion
Yes, this is indeed what i need to do. The thing is that i am totally new to Windows controls and do not know how to work this around. Can you plz give me a tutorial or an example i can follow? Thanks
-
Yes, this is indeed what i need to do. The thing is that i am totally new to Windows controls and do not know how to work this around. Can you plz give me a tutorial or an example i can follow? Thanks
Here you go: http://msdn2.microsoft.com/en-us/library/7h62478z(VS.80).aspx[^] http://www.codeproject.com/vb/net/checkbox_v2.asp[^]
#region signature my articles #endregion
-
Yes, this is indeed what i need to do. The thing is that i am totally new to Windows controls and do not know how to work this around. Can you plz give me a tutorial or an example i can follow? Thanks
-
talking abt tutorial... have a look at this. use thi URL in MSDN ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_mclictl/html/f88481a8-c746-4a36-9479-374ce5f2e91f.htm
Rocky You can't climb up a ladder with your hands in your pockets.
Thanks guys. I will have a look at it ASAP.