Click or drag to resize

DataWindow.ViewAs Method

X#
Specify the view mode of the data window, as browse view or form view.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD ViewAs(
	symViewType
) AS USUAL CLIPPER
Request Example View Source

Parameters

symViewType (Optional)
Type: Usual
Specifies which view mode is to be used. Use one of these symbols:
SymbolDescription
#BrowseView Several records are displayed at the same time, as rows in a spreadsheet-like table with each field corresponding to a column.
#FormView A single record is viewed at a time, with its fields displayed in individual controls.

Return Value

Type: Usual
Remarks
When a window is switched to a new view mode, a layout is automatically generated if one had not been defined previously. Because it takes an argument, DataWindow:ViewAs() is rarely connected directly with a push button or menu command; instead, the DataWindow:ViewForm() and DataWindow:ViewTable() methods are used.
See Also