Refresh pipes in designer
Need to rebuild my custom pipes.
Can I trap the refresh event of the DataTreeWindow
--- posted by geoForum on http://www.newswhat.com
Can I trap the refresh event of the DataTreeWindow
--- posted by geoForum on http://www.newswhat.com
This discussion has been closed.
Comments
I'm unclear about what you are trying to accomplish. By refreshing the
pipelines, do you mean to refresh the fields available due to the fact
that the underlying dataset has changed? At what time during the
reporting process do you wish to do this. Are you unable to access the
pipeline or dataset directly?
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
My problem is this I have a form(s) with a list of data. processes are run
which may create new lists and forms. RB needs to be displayed these new
lists in pipes.
I found that the newly created pipes where not display datatreeview on the
current refresh.
or is there a better way of getting the datatreeview to display the new pipes?
--- posted by geoForum on http://www.newswhat.com
If the pipelines are created after the designer is loaded, the data tree
window will need to be rebuilt (refreshed).
You can gain direct access to the Data Tree Window using the
DesignToolManager.ToolWindows property. Something like the following...
uses
ppToolWnTBX;
...
lDataTreeWindow :=
ppDesigner1.Form.LayoutManager.ToolManager.ToolWindows.ItemsByName['DataTreeWindow'];
lDataTreeWindow.Refresh;
Note that you will need to be sure the DataTreeWindow is a valid object
before making calls to it.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks
--- posted by geoForum on http://www.newswhat.com