Promotic
WikipediaLinkedInYoutubeTwitterFacebook

TableOper - method of object TrendsView

Description:
Setting some parameters (width of all columns, ...) in the table mode.
Syntax:
TableOper(sOper As String, sPar As String)
Calling:
oTView.TableOper sOper, sPar
Parameters:
sOper(String) String specifying the type of the performed operation
"colswidth" - Setting the width of all columns
sPar(String) Parameter value depends on setting the sOper parameter
"fittoview:xxx;" - Valid if sOper="colswidth" is set - setting the width of all columns so that all columns are displayed together in the viewer without the necessity to scroll. Here the xxx can hold values:
eq - widths of all columns are set to the same value or
pr - widths of all columns are re-calculated and changed according to the mutual ration (proportional) of their widths before calling this method.

Calling the method changes setting the tvTrend.TableColumnWidth property of all tvTrend objects whose view is enabled. See: tvTrend.EnabledInTable, tvTrend.Visible.

Example:
oTView.TableOper "colswidth", "fittoview:eq;"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice