VISUAL FOXPRO FORM CONTROLS

FOXPRO FORM CONTROLS DEFINITION REMARKS
TextBox Control creates a textbox. creates a textbox in which you can edit the contents of a memory variable, array element, or field.
use the InputMask andn formatproperties to specify how values are entered and displayed in the textbox.
Common Button Control creates a single command button. a command button is typically used to start an event that performs an action such as closing a form, moving to a different record, printing a report, and so on.
use the CommandGroup control to create a set of command buttons that you can manipulate individually or as a group.
use the caption property to specify the text that appears on a command button.
use the picture property to specify a picture for a command button.
ListBox Control creates a list box. a list box displays a list of items from which you can select one or more items.
a list box is similar to a combo box initially displays a single item.
ComboBox Control creates a combo box. when selected, the combobox control opens, displaying a list of items from which you can choose one.
a combobox control combines the features of a textbox control and a listbox control.
you can enter information in the text box portion or select an item from the list box portion of the control.
PageFrame Control creates a page frame to contain pages. a page frame is a container object that contains pages.
pages, in turn, can contain controls.
Image Control creates an image control that displays a .bmp picture. an image control is a graphical control tht displays bitmaps that can’t be changed directly.
CheckBox Control creates a check box. a check box is used to toggle between two rates, such as true (.T.) and false (.F.) or yes or no.
when a condition is true, an x appears in the check box.
OptionButton Control creates a single option button. a single option button can be added only to a group of option buttons.
Form Object creates a form. use the form object to create a form to which you can add controls.
you can also use the form designer.
forms have properties that determine their appearance, such as position, size, and color, as well as aspects of their behavior, such s whether they are sizable.
Grid Control creates a grid. a grid is a container object that displays data in row and columns, and is similar in appearance to a browse window.
a grid is also a container object that contains column objects.
a column can contain a header object and controls.
because a grid and its columns, headers, and controls each have their own set of properties, you have complete control over each element of the grid.
you can create a grid interactively using the grid builder.
DataEnvironment Object created when a form, form set, or report is created. the dataenvironment object is a container object for the cursor and relation objects associated with the form, form set, or report.
used to open tables and attach it to the form, formset or report.
Container Object creates an object that can contain other objects. container objects can contain other objects and allow acces to the objects contained within them.


VISUAL FOXPRO PROPERTIES

FOXPRO PROPERTIES DEFINITION
Control Source Property specifies the source of data to which an object is bound.
available at design time and run time.
Caption Property specifies the text displayed in an object caption.
Name Property specifies the name used to reference an object.
Enale Property specifies whether an object can respond to user-generated events, available at design time and run time.
Visible Property specifies whether an object is visible/hidden, available at design time and run time.


VISUAL FOXPRO EVENTS

VISUAL FOXPRO EVENTS DEFINITION
AfterRowColChange Event occurs when the user moves to another row/column in the grid after the new cell get the focus, and after the event of the object in the new row/column.
Click Event occurs when you include code in a program that triggers the events or when the user presses and releases the left mouse button while the pointer is over a control changes the value of certain controls or clicks in a blank area of a form.
Load Event occurs just before an object is created.
Activate Event occurs when a form, formset, project or page object becomes active or when a toolbar object is shown.
LostFocus Event occurs when an object loses the focus.