"enableColumnResize"

This function allows resizing of table column widths with the mouse.

Synopsis

setValue(string shape, "enableColumnResize", bool on);

getValue(string shape, "enableColumnResize", bool &on);

shape.enableColumnResize(bool on);

Parameters

Parameter Description
shape Name of the table object (for example, Table1)
on TRUE enables the function and FALSE disables the function.

Description

If the function has been enabled, you can change the column width of a table using the mouse.

Example

main()
{
  Table1.enableColumnResize(TRUE); 
// Enables the function
}
// Or
main()
{
  shape table=getShape("table123");
  // Enables the function
  setValue("Table1", "enableColumnResize", TRUE);
}

Assignment

Table