Hi all,
I am using the aaTrendControl to access data from our Historian and I need to disable \ restrict access to the file load, file save and server config icons, see below. Anyone done this before or know how to ?
Thanks in advance
Hi all,
I am using the aaTrendControl to access data from our Historian and I need to disable \ restrict access to the file load, file save and server config icons, see below. Anyone done this before or know how to ?
Thanks in advance
I did manage to find the exact solution for you as well!
As mentioned, the trend control includes a lot of trial and error since it contains a VAST number of properties and functions. Most of them undocumented.
And to be honest when I personally need to do something with it, I use autocomplete or the property list, adding some patience and luck ;)
Using the above mentioned method this morning i stumbled upon an interesting function!
.SetToolbarButtonEnabled
Using this you can individually enable or disable buttons in the toolbar!
'This will disable the Open button
aaTrendControl1.SetToolbarButtonEnabled(0,0);
'This will disable the Save button
aaTrendControl1.SetToolbarButtonEnabled(1,0);
'This will disable the Print button
aaTrendControl1.SetToolbarButtonEnabled(2,0);
'This will disable the Copy button
aaTrendControl1.SetToolbarButtonEnabled(3,0);
'This will disable the Servers button
aaTrendControl1.SetToolbarButtonEnabled(4,0);
'.... And so on
So obvious now that we know about it.
So thanks David for asking, now we know it IS possible. And of course we want to do this is in some scenarios!
rickard.norin Heroes HQ, making the impossible, possible!
Some great information here. Is there an issue when using the aaTrendControl in the web client? It does not seem to be appearing?
Some great information here. Is there an issue when using the aaTrendControl in the web client? It does not seem to be appearing?
Hi Andrew, I had done some work on the trends, looks like certain features are not working. The scripting feature does not fully work in web as it works in the standard client ( RDS or standalone ) . I’m very tempted to use HISTORIAN client web within Intouch web as I like the interface