DataWindow.ViewAs Method | |
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
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual ViewAs(
Usual symViewType = default
)
Request Example
View SourceParameters
- symViewType (Optional)
- Type: Usual
Specifies which view mode is to be used. Use one of these symbols:
Symbol | Description |
---|
#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:
UsualRemarks
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