G2 Flashcards
(40 cards)
What control performs an action when clicked?
Button
Triggers an event like submit or display info?
Button
Button property: changes label text
Text
Button property: allows click or not
Enabled
Button property: visibility control
Visible
Button property: background color
BackColor
Button property: text color
ForeColor
Button property: font and size
Font
Button property: display image
Image
Simulates button click
PerformClick()
Sets focus on button
Focus()
Releases button resources
Dispose()
Forces repaint of control
Refresh()
Redraws invalid parts
Update()
Gives button input focus
Select()
Hides the button
Hide()
Shows hidden button
Show()
Control for Yes/No or True/False options
CheckBox
CheckBox state when selected
Checked = True
CheckBox property: label text
Text
CheckBox property: allows 3 states
ThreeState
CheckBox property: changes look
Appearance
CheckBox property: gets/sets state
CheckState