G2 Flashcards

(40 cards)

1
Q

What control performs an action when clicked?

A

Button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Triggers an event like submit or display info?

A

Button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Button property: changes label text

A

Text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Button property: allows click or not

A

Enabled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Button property: visibility control

A

Visible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Button property: background color

A

BackColor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Button property: text color

A

ForeColor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Button property: font and size

A

Font

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Button property: display image

A

Image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Simulates button click

A

PerformClick()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Sets focus on button

A

Focus()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Releases button resources

A

Dispose()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Forces repaint of control

A

Refresh()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Redraws invalid parts

A

Update()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Gives button input focus

A

Select()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Hides the button

A

Hide()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Shows hidden button

19
Q

Control for Yes/No or True/False options

20
Q

CheckBox state when selected

A

Checked = True

21
Q

CheckBox property: label text

22
Q

CheckBox property: allows 3 states

23
Q

CheckBox property: changes look

24
Q

CheckBox property: gets/sets state

25
Gets current checkbox state
CheckState()
26
Returns checkbox as text
ToString()
27
Removes all items
Clear()
28
Finds first matching item
FindString()
29
Finds exact matching item
FindStringExact()
30
Switches checkbox state
Toggle()
31
Resets checkbox text
ResetText()
32
33
List control with checkboxes
CheckedListBox
34
Property: all items in list
Items
35
Property: selected check items
CheckedItems
36
Property: toggle on click
CheckOnClick
37
Property: selection behavior
SelectionMode
38
Checks if item at index is checked
GetItemChecked(index)
39
Sets item at index as checked
SetItemChecked(index, True)
40
Returns index of checked items
CheckedIndices