levo

Graphical User Interface Objects and Events

Forms and their common properties

  • 3 things to know
  • AS Unit 2

Overview

Form in an event driven application, difference between a form's title and its name and client area of a form.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is a form in an event driven application?

Key term

Name five properties a form typically has.

Key term

What is the difference between a form's title and its name?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a form in an event driven application?

    Model answer

    A form is a window that holds and positions the controls making up one screen of an application.

  2. 2

    Name five properties a form typically has.

    Model answer

    A form typically has a title, a size in pixels, a position on screen, a background colour and a border style.

  3. 3

    What is the difference between a form's title and its name?

    Model answer

    The title is the text shown in the window bar and is read by the user, while the name identifies the form in code and is never displayed.

  4. 4

    What does the visible property of a form control?

    Model answer

    The visible property decides whether the form is drawn on screen. A form built with visible set to false exists in memory and shows nothing.

  5. 5

    A form has its resizable property set to false. What can the user no longer do?

    Model answer

    The user can no longer drag the form's edges or maximise the window, so the layout stays at the size the designer chose.

  6. 6

    Why would a developer set a minimum size on a form rather than fix the size outright?

    Model answer

    A minimum size lets a user enlarge the window for comfort while preventing the window shrinking so far that controls overlap or disappear.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Software and the Development Environment
Defining Data: Types, Variables and Classes
Program Control Structures
Objects, Classes and Data Structures

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

A null is the of one.
absencepresencetype

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AA null means no value has been recorded.
BZero and an empty string are values.
CA null is the absence of a value.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

An error is the mistake a person made.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Graphical User Interface Objects and Events, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.