ComponentOne VSView Reporting Edition
Field Object

All of the properties for the Field object are listed in the following tables. Properties that apply only to this object, or that require special consideration when used with it, are marked with an asterisk (*). These are documented in later sections. For documentation on the remaining properties, see the Visual Basic documentation.

 

Properties

 

*Align

Returns or sets the Field's alignment.

*Anchor

Gets or sets how the field position and dimensions should be affected when the containing section changes size as a result of CanGrow or CanShrink.

*BackColor

Returns or sets the Field's background color.

*BackStyle

Returns or sets whether the Field will be rendered with an opaque or transparent background.

*BorderColor

Returns or sets the Field's border color.

*BorderStyle

Returns or sets the Field's border style.

*Calculated

Returns or sets whether the Text property should be interpreted as a literal value or as a calculated expression.

*CanGrow

Returns or sets whether the Field height should be automatically increased to fit the Field's contents.

*CanShrink

Returns or sets whether the Field height should be automatically decreased to fit the Field's contents.

*Checkbox

Returns or sets whether the Field should be displayed as a checkbox.

*Font

Returns or sets the Field's font.

*ForcePageBreak

Returns or sets whether to insert page breaks before or after the field.

*ForeColor

Returns or sets the Field's foreground color.

*Format

Returns or sets how the Field's contents should be formatted.

*Height

Returns or sets the Field size and position.

*HideDuplicates

Returns or sets whether duplicate values in consecutive records should be suppressed.

*Left

Returns or sets the Field size and position.

*LineSlant

Returns or sets whether a line should be drawn across the field (as opposed to a box around the field).

*LineSpacing

Returns or sets the line spacing between text lines in the Field.

*LineWidth

Returns or sets the width of the Field's border or line.

*LinkTarget

Gets or sets an expression that evaluates to a URL to be visited when the field is clicked.

*MarginBottom

Returns or sets the margins between the Field's edges and the text it contains.

*MarginLeft

Returns or sets the margins between the Field's edges and the text it contains.

*MarginRight

Returns or sets the margins between the Field's edges and the text it contains.

*MarginTop

Returns or sets the margins between the Field's edges and the text it contains.

*Name

Returns or sets the Field name.

*Picture

Returns or sets a picture to display on the field (file names are accepted).

*PictureAlign

Returns or sets the picture alignment and scaling (see also the Picture property).

*RenderHeight

Returns the height of the field after the section has been modified to accommodate CanGrow/CanShrink fields.

*RenderTop

Returns the top of the field after the section has been modified to accommodate CanGrow/CanShrink fields.

*RTF

Returns or sets whether the field should render string enclosed in curly brackets as RTF.

*RunningSum

Returns or sets whether to show a running sum for the Field.

*Section

Returns or sets the Section to which the Field belongs.

*Subreport

Returns or sets a reference to another report to be rendered within the field (a Subreport).

*Tag

Returns or sets extra data needed by the calling program.

*Text

Returns or sets the Field's literal text or expression (depending on the Calculated property).

*Top

Returns or sets the Field size and position.

*Value

Returns or sets the Field's calculated value.

*Visible

Returns or sets whether the Field will be rendered.

*Width

Returns or sets the Field size and position.

*WordWrap

Returns or sets whether the Field's contents should be allowed to wrap within the Field rectangle.

*ZOrder

Gets or sets the ZOrder for the field.

 

Methods

 

*SetZOrder

Brings a field to the top or sends it to the bottom of the ZOrder.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback