Instantiating a ProcessBook Trend control on a VBA form

Discussion created by ssaad on Feb 5, 2013
Latest reply on Feb 6, 2013 by andreas

Is it possible to instantiate a Trend control on a VBA form in ProcessBook?


I tried doing this but got the following error message:






The intention is to have a standard ProcessBook button on a display that when the user clicks on it, it runs a macro that opens a modal popup VBA form with a Trend. Since the user doesn´t want the popup to show up maximized, the Ad-Hoc Trend feature can´t be used.


I investigated other alternatives like creating a new display with a Trend programmatically, and even adding a Trend to the same display programmatically, but that can´t be modal.


Any hints?