3
3
3per2014-07-18 09:30:50
Design
3per, 2014-07-18 09:30:50

What should be the design of a button that changes its text on click?

I am writing an application under .Net Windows Forms, but the platform in my question is not very important, because. I'm interested in a general, cross-platform approach to the design of such buttons. What should a button look like that changes the text and possibly the width when it is clicked? So that the user is not afraid to click on it, and it is clear to him what is happening. The button should replace the RadioButton, and thus win space on the form, and add conciseness to the overloaded form interface.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry Guketlev, 2014-07-18
@3per

Good afternoon!
I am glad to announce that such a button is already in the standard set of components of the Windows operating system and the .Net platform! Called ComboBox

I
Ivnika, 2014-07-18
@Ivnika

Either you asked the question incorrectly, or the described button has no right to exist. The only option, for example stock.hiflyer.vn/images/jdownloads/screenshots/b_1...
Everything else is to change the text, and even more so the size - brrrrr, don't scare users!

G
gleb_kudr, 2014-07-18
@gleb_kudr

The button should not change the width/height in any case. Name, color - allowed. The general style in different states should be the same. One visual component should change. If we change the background, we do not change the color and style of the text. And vice versa. In this case, the label on the button always changes to indicate the meaning of the action that occurs when it is pressed (by no means the current state).

3
3per, 2014-07-19
@3per

Thanks to all. I draw the following conclusion. And so, such a button should be like a ComboBox, i.e. it should have a characteristic icon about a drop-down list, and by clicking on it, all possible states should be displayed, the inscription on the button may reflect the current state, and not the action, because the drop icon indicates the action. It's just the terrible implementation of the ComboBox in Windows Forms that makes me avoid using it, and it got to the point where I couldn't figure out what I needed on my own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question