Skip to main content
Version: Next

VP SET ROW ATTRIBUTES

VP SET ROW ATTRIBUTES ( rangeObj : Object ; propertyObj : Object )

ParameterTypeDescription
rangeObjObject->Range of rows
propertyObjObject->Object containing row properties

Description

The VP SET ROW ATTRIBUTES command applies the attributes defined in the propertyObj to the rows in the rangeObj.

In the rangeObj, pass an object containing a range. If the range contains both columns and rows, attributes are applied only to the rows.

The propertyObj parameter lets you specify the attributes to apply to the rows in the rangeObj. These attributes are:

PropertyTypeDescription
heightnumberRow height expressed in pixels
pageBreakbooleanTrue to insert a page break before the first row of the range, else false
visiblebooleanTrue if the row is visible, else false
resizablebooleanTrue if the row can be resized, else false
headertextRow header text

Example

You want to change the size of the second row and set the header:

var $row; $properties : Object

$row:=VP Row("ViewProArea";1)
$properties:=New object("height";75;"header";"June")

VP SET ROW ATTRIBUTES($row;$properties)

See also

VP Get row attributes
VP get column attributes
VP SET ROW ATTRIBUTES