chapter 2 - more controls more controls – text boxes - used for user input – frames - containers...

6
Chapter 2 - More Chapter 2 - More Controls Controls More controls Text boxes - used for user input Frames - containers to group items check boxes - user select an option - any number selected option buttons - user make choices - only one selected create check boxes and option buttons in a frame not on the form

Upload: norah-owen

Post on 01-Jan-2016

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -

Chapter 2 - More Chapter 2 - More ControlsControls

More controls– Text boxes - used for user input– Frames - containers to group

items– check boxes - user select an

option - any number selected– option buttons - user make

choices - only one selected– create check boxes and option

buttons in a frame not on the form

Page 2: Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -

– Images - graphic-type file - picture property

– border and style– shape and line

Multiple controls– select as a group

moving, setting properties

– horizontal and vertical spacing

Designing applications for user convenience– clear and consistent - Windows

standards– understandable and comfortable– keyboard access keys

Page 3: Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -

– Default and cancel properties– Tab order for controls - focus -

TabIndex Tabstop and Tabindex

– Form location on screen - form layout window

– Tool Tips

Coding for controls - change in properties– clear text boxes and labels– resetting the focus– Value property of option buttons

and check boxes– changing font properties– changing color of text

Page 4: Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -

– Changing multiple properties of a control

– concatenating text - joining two strings - &

– continuing long lines– default property of a control

Page 5: Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -

Assignment #4Assignment #4– programming exercise #2.2, pg. 81

- hand in design, print form, form as text, and code

– separate folder– draw form like pg. 82– stack all four flag pictures same

place, visible=false - not show when run; flags on cd

– visible and display country name when selected - others false, do not show

– print button - default, exit button - escape

– do not do paragraph at end– keyboard access keys– tool tips

Page 6: Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -

Assignment #5Assignment #5

– Pg. 118 - review questions 1-9

– programming exercise 3.3 - design - piece of paper