May 19, 2012, Saturday, 139

SetViewProperty

From Planimate Knowledge Base

Jump to: navigation, search

Sets a property of a view of a table on a given panel

SetViewProperty($1,$2,$3,$4,$5)

$1 = Table

  • Specified as a table reference ie. t.table_name. If the table view is of a table that is out of scope, this operation can still be performed if the target table is placed on an Item table reference and the item table is then used here.

$2 = Panel

  • Model object reference of the panel that the view appears on.

$3 = Property

  • Index of the view property. The label list tableview_properties can be used to easily specify this.

$4 = Value

  • Value to set the property to.

$5 = View Type