Class

RBReportControl


Description

The base class for the controls on a Report.

Methods

Name

Parameters

Returns

Shared

Constructor

controlName As String

ControlType

String

Enumerations

TextAlignment

Enum

Value

Left

0

Center

1

Right

2

Property descriptions


RBReportControl.DataField

DataField As String

The name of the field from the data source to bind to the control.


RBReportControl.Height

Height As Double

The height of the control in Units. Height is relative to the section the control is in.


RBReportControl.Left

Left As Double

The left side of the control in Units. Left is relative to the section the control is in.


RBReportControl.Name

Name As String

The name of the control as defined in the Inspector or constructor.

This property is read-only.


RBReportControl.Tag

Tag As Variant

A place to store any value you wish to associate with the control.


RBReportControl.Top

Top As Double

The top of the control in Units. Top is relative to the section the control is in.


RBReportControl.Visible

Visible As Boolean

If True, the control is visible. The default is True.


RBReportControl.Width

Width As Double

The width of the control in Units. Width is relative to the section the control is in.

Method descriptions


RBReportControl.Constructor

Constructor(controlName As String)

Creates a new ReportControl with the passed name.

Note

Constructors are special methods called when you create an object with the New keyword and pass in the parameters above.


RBReportControl.ControlType

ControlType As String

Returns the type of the control.

Compatibility

Project Types

Desktop

Operating Systems

All