EnabledInTable - property of the tvTrend object
Description:
Setting/getting visibility of the corresponding tvTrend object in the table mode.
Syntax:
Boolean EnabledInTable
Note:
Property access
for read and write.
This property is also functional in
Web panels.
The property is used only if the
table mode is set.
In order to make the modification visible after write, it is necessary to call the
Draw method.
Setting the property to
true (the default value) means the visibility.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
if (oTrend)
{
var bEnabledInTable = oTrend.EnabledInTable;
// Reading from the property
// or
oTrend.EnabledInTable = false;
// Writing into the property
}
Dim oTView, oTrend
Set oTView = pMe.Items("../TrendView")
Set oTrend = oTView.Trends(0)
If Not oTrend Is Nothing Then
Dim bEnabledInTable
bEnabledInTable = oTrend.EnabledInTable
' Reading from the property
' or
oTrend.EnabledInTable = false
' Writing into the property
End If