SetToolbarButtonEnabled
- Last UpdatedNov 17, 2021
- 1 minute read
Use the SetToolbarButtonEnabled method to control if a specific button in the toolbar is enabled.
Syntax
[Result=] aaHistClientTrend.SetToolbarButtonEnabled(integer buttonNumber, integer bEnabled);
Parameters
buttonNumber
The index number of the toolbar button. Numbering starts at 0.
bEnabled
Specify a non-zero number to enable the button. Set to zero to disable.
Return Value
Returns True if the button can be enabled; otherwise, returns False.
Button numbers are as follows:
|
Number |
Corresponding button |
|---|---|
|
0 |
Open a trend |
|
1 |
Save the trend |
|
2 |
Print the trend |
|
3 |
Copy |
|
5 |
Configure the servers |
|
6 |
Configure the trend properties |
|
7 |
Configure the trend options |
|
9 |
Select XY Scatter Plot or Trend chart type |
|
10 |
Enable or disable single tag mode |
|
11 |
Stack the tag traces |
|
12 |
Move to the previous tag |
|
13 |
Move to the next tag |
|
14 |
Highlight tag |
|
16 |
Show or hide the time axis cursor |
|
17 |
Show or hide the value axis cursor |
|
19 |
Move the current tag up |
|
20 |
Move the current tag down |
|
21 |
Scale all tags to their original scale |
|
22 |
Auto scale all tags |
|
23 |
Scale all tags up |
|
24 |
Scale all tags down |
|
26 |
Enable rubber band scaling |
|
27 |
Apply rubber band to all tags |
|
28 |
View license status |