15.04.2018 Views

programming-for-dummies

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Making User Interfaces with Event-Driven Programming 41<br />

To customize part of a user interface, you must modify that user interface’s<br />

properties. Each part of your user interface contains properties that define<br />

its appearance and behavior. For example, if you wanted a button to appear<br />

in color, you’d change that button’s Color property. If you wanted to change<br />

the size of a button, you’d modify that button’s Width or Height property,<br />

as shown in Figure 2-6.<br />

Book I<br />

Chapter 2<br />

Different Methods<br />

<strong>for</strong> Writing<br />

Programs<br />

Figure 2-5:<br />

Designing a<br />

user<br />

interface<br />

involves<br />

drawing<br />

what you<br />

want to<br />

appear on<br />

your<br />

program’s<br />

user<br />

interface.<br />

Figure 2-6:<br />

Properties<br />

define how<br />

each part of<br />

a user<br />

interface<br />

looks and<br />

behaves.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!