click below
click below
Normal Size Small Size show me how
CIT166 Ch 5
CIT166 Visual Basic Chapters 5 Terms
Term | Definition |
---|---|
& | the concatenation operator in Visual Basic |
AcceptButton property | a property of a form; used to designate the default button |
Accumulator | a numeric variable used for accumulating (adding together) something |
Add method | the Items collection’s method used to add an item to a list box |
Block scope | scope of the variable declared in a For...Next statement’s For clause; indicates that the variable can be used only within the For...Next loop |
CancelButton property | a property of a form; used to designate the button that can be selected by pressing the Esc key |
Clear method | the Items collection’s method used to clear (remove) items from a list box Collection |
Count property | stores an integer that represents the number of items in the Items collection Counter |
Counter-controlled loop | a loop whose processing is controlled by a counter; the loop body will be processed a precise number of times |
Decrementing | decreasing a value Default buttondoes not have the focus; designated by setting the form’s AcceptButton property |
Default list box item | the item automatically selected in a list box when the application is started and the interface appears |
Dictionary order | numbers are sorted before letters, and a lowercase letter is sorted before its uppercase equivalent |
Do...Loop statement | a Visual Basic statement that can be used to code both pretest loops and posttest loops |
Endless loop | a loop whose instructions are processed indefinitely; also called an infinite loop Financial.Pmt method |
For...Next statement | a Visual Basic statement that is used to code a specific type of pretest loop, called a counter-controlled loop |
Incrementing | increasing a value |
Infinite loop | another name for an endless loop |
Items collection | the collection of items in a list box |
List box | a control used to display a list of items from which the user can select zero items, one item, or multiple items |
Load event | an event associated with a form; occurs when the application is started and the form is displayed the first time |
Loop | another name for the repetition structure Loop exit condition |
Looping condition | the requirement that must be met for the computer to continue processing the loop body instructions |
Multiline property | a property of a text box; indicates whether the text box can accept and display either one or multiple lines of text |
Overflow error | occurs when the value assigned to a memory location is too large for the location’s data type |
Posttest loop | a loop whose condition is evaluated after the instructions in its loop body are processed |
Pretest loop | a loop whose condition is evaluated before the instructions in its loop body are processed |
ReadOnly property | a property of a text box; specifies whether or not the user can change the contents of the text box |
Real numbers | numbers with a decimal place |
Repetition structure | the control structure used to repeatedly process one or more program instructions; also called a loop |
ScrollBars property | a property of a text box; specifies whether the text box has no scroll bars, a horizontal scroll bar, a vertical scroll bar, or both horizontal and vertical scroll bars |
SelectedIndex property | can be used to select an item in a list box and also to determine which item is selected; stores the index of the selected item |
SelectedIndexChanged event | occurs when an item is selected in a list box SelectedItem property item is selected; stores the value of the selected item |
SelectedValueChanged event | occurs when an item is selected in a list box |
SelectionMode property | determines the number of items that can be selected in a list box |
Sorted property | specifies whether the list box items should appear in the order they are entered in the list box or in sorted order |
String Collection Editor | provides an easy way to add items to a list box’s Items collection |