Sams Teach Yourself Visual Basic 6 in 24 Hours

Sams Teach Yourself Visual Basic 6 in 24 Hours

By Greg Perry

Q&A

  1. How do I know which control has the focus?

    Generally, you'll quickly learn to recognize focus once you've worked with it a short time. The focus looks different depending on the collection of controls that appear on the form. Most of the time, the focus appears as a dotted outline around a caption or option. You'll know which window has the focus because the focus window's title bar will be colored and the others will be gray. If you really cannot determine which control has the focus, press the Tab key a few times. You will see the focus jump from control to control.

  2. How can I learn all the properties?

    People who have written Visual Basic programs for years don't know every property for every control. The Properties window is always at most one menu away, and it always displays a control's properties. Therefore, don't worry about learning all the properties. Generally, if you need to adjust the location, size, look, or behavior of a control, a property probably exists to handle that operation.

Share ThisShare This

Informit Network