39.6k views
0 votes
Name two properties that a button object can possess?

User Amoe
by
8.4k points

1 Answer

1 vote
A button object in a computer should have at least these two properties:
1. It should acknowledge a mouse click or key press.
2. It should trigger a functional code within the software to perform a specific task.

To perform its intended function properly, it is necessary for the button to have a title that clearly describes the function that it performs.

For example, the button could define a new color that is to be assigned to a graphics object or to a font.
Once the button is pressed, the button should trigger execution of code that actually implements the change in color.

User Barry Holroyd
by
8.6k points

No related questions found