1 comment found.
Hello I just bought your Switch Button for Windows Forms. I want such control in my application. But there is a problem, the controll is up and down, and I need a left and right. Is it possible to fix?
Hello Nian66. Thank you for purchasing and using my control.
As we speak, I am adding different orientation support. Once I am done, I will send you the latest version.
Once again thank you.
Nian66, please note that I have just created new version with Orientation support and it is under review now. Once it gets approved from the CodeCanyon reviewer, you should get notification so that you can use it.
Thank you for your patience.
@nian66 Please do note that the new version with Orientation property was approved and should be available for you to download.
If you have some questions, or some issues with its use, feel free to let me know.
Thank you
Hello Aleksandaril I have tried the newest version, and it is great that it now also supports a horizontal toogle switch.
But I have some cosmetic issues with it.
First, if I make the height smaller then 25px the button is not vertically centered, the button is little too high up. I will have a lot of toggle switches, one on each label row to turn a function on or off. So I want to make the switch only 20px high.
Second, when the button is turned off the red area is larger than the green area when the button is on. It looks a bit strange if one switch is on and another is off when they are close to each other.
Kind Regards Niclas Andersson
Thank you for your feedback.
Do note that with GDI+ small cosmetic fixes might not render perfectly, but I would be more than happy to try and fix them for you.
Any chance you send me a screenshot with the issues so that I can completely understand and address them in a timely manner?
I really appreciate your comments.
Hello How can I send you a screenshot?
@nian66 Well, unfortunately, this form doesn’t accept attachments, but you can upload the screenshot to some cloud (like dropbox or google drive) and send me a link here.
Or in the PDF document included in the package, there should be my e-mail address where you can send me an attachments.
I know that this is probably too much hassle, but it will really help me.
Thank you for understanding.
Hello I have an image on my Dropbox https://www.dropbox.com/s/w8l7axbatr6m4hk/Switch2.png?dl=0
The example on the left, show some controls I have in my program. I have drawn two black lines to show that the knob is more to the left in disable mode than it is to the right in enabled mode.
In the example to to the right. I have drawn some controls in different sizes. You can also here see that the red area is bigger then the green ones, the knob is farther to the left than it is to the right. Also when the height of the button is smaller then 25px, the knob bottom is at the same level as the colored surface.
You can also see some green to the right of the knob in enabled mode.
Also how can I get the SwitchButton control to remember the value of properties value. If I want the controle to be displayed in enabled mode I what to set the value to enabled. But when I open my form again the value returns to disabled. At the moment I have to write the values inside my code, if I want the control to be enabled or disabled.
Kind Regards Niclas Andersson
Hello One more thing. When I disable the button (Enabled=False) it don’t turn into gray color. //Niclas
I marked all your remarks. I will try to address them today and update you when I am done.
Thank you.
New version is in review stage. I tried to address all of your issues and I have even added one more property (Add3dEffect).
By default, that property is turned off, so feel free to try it. When off, it renders flat version of the control and when on, it renders improved version of the old 3D effect.
When disabled, the control is gray as you requested and when resized (even with small dimensions) everything is centered as expected. Although to me it doesn’t make sense to use this control with size less than 25px… but up to you.
Small suggestions, to make this look best, I would advise you to keep the aspect ration between Width and Height as 5:3. To me it looks perfect what that ratio is maintained (although it is matter of persona taste).
The screenshot was indeed helpful since I haven’t really tested with those tiny dimensions (or maybe I don’t remember since the control is like almost 5 years old). Anyway, thank you for the screenshot.
Regards Aleksandar
Hello Any news when the update will be released?
//Niclas
Hello,
Thank you for the message. Actually I can’t know that.
It is in review stage and it is in the hands of CodeCanyon. They do code quality check before they actually release it.
I have submitted my work about 3 days ago (when I informed you in the previous comments).
You should get a notification, but even if you don’t, once they approve, I will write you a comment here as well.
Is there any other control would you like to me to put on code canyon? Anything else you would use in future and is not out there? Other fancy control maybe for WinForms, or WPF, or maybe even some library to make your life easier? 
I would really want to be even more helpful not with just this control, but others that you might need.
Hello I’m not a expert in programming, I’m just a home programmer in Visual Basic and I just like to make program for my own use. So the code may not look as good as it could, but it works and I learning some bits here and there on the way. But what I like to have in my program is that the user interface look good.
At the moment I try to write a program that I can use to save our settings on our karts (karting/gokart) when we go practice or racing.
Here are an example where I use your button in Options settings to turn features on and off. You can see why i wanted to use a fairly small button. https://www.dropbox.com/s/v4n47xknhl61f8z/KSR-Options1.PNG?dl=0At the moment I using stardard controls for Combobox, NumericUpDown Textbox and DateTimePicker. But I don’t like them, I can’t change them to my liking. Here is some example what I would like to have :
ComboBox
- Border color - Nicer background color that covers the whole combobox - Color option on the dropdown button - Striped backgroundcolors on the dropdown - Set color on the selected value in dropdown - Set color on the focus value in dropdown - Text alignment
NumericUpDown
- Border color - Nicer background color that covers the whole NumericUpDown around the up and down button - Color option on the up and down buttons
Textbox
- Border color - Backgroud color for Read Only.
DateTimePicker
- Border Color - Background Color - Color option on the dropdown and up and down buttons - Background Color on the dropdown meny - Color on focus value (for/background) - Color on selected value (fore/background) - Text alignment
I have not searched the web if I can find this options for my controls.
Kind Regards Niclas
Hello Niclas,
Just wanted to inform you that the switch button was approved this morning. I hope that you will like the improvements this time.
Yes, now I see why you want to keep your button small. The form is neat and elegant.
I plan to release this animated textbox soon ( https://secure.screenrec.com/0saFIGqedN ). If you think it will match your style, let me know and I will try to speed it up.
As for other controls you have requested, Those (the text input controls) are the ones that are most difficult to style. But if you plan on purchasing, I can add those on my TODO list of controls and hopefully deliver them in a reasonable time frame.
I can’t exactly promise ETA on those because I am involved in another project, but I will do my best not to keep you waiting for long time. Think about it and let me know so I can include it in my agenda.
Now please do note that your request is rather specific and most likely you will be the only one who will purchase those, so I will probably release all of them as a single package. That being said, what do you think is the fair price to charge you for that set of controls?
And assuming you are interested, since it is matter of visual requests (styles and effects) please be as specific as possible. If you can even include some sort of graphics (with example of what exactly you want), that would be highly appreciated.
Kindly waiting for your answer. Regards Aleksandar