Consultor Eletrônico



Kbase P37902: 2.0A02 Dyn Treeview: How to change folder window to launch w
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/11/2003
Status: Unverified

GOAL:

Dynamics Treeview: How to change the folder window to launch on the fly (when selecting a node)?

FACT(s) (Environment):

Dynmamics 2.0A

FIX:

The following solution has been tested successfully with Dynamics 2.0A02.  This solution has become obsolete in 2.1A since the Treeview has been completely redesigned. See Progress Solution P53730 2.1A + Dyn Treeview: How to change folder window to launch when selecting a node?

Make a super procedure of the Treeview Container, then make an override of nodeSelected in it with the original code of adm2/tvcontr.p
odeSelected.  Then write code to change cLogicalObject depending on your conditions before running createRepositoryObjects.
In the definition block of the super procedure, add the following in order to define the ttNode temp-table:/* Define temp-tables required */
{src/adm2/treettdef.i}

Note that this solution is a strong override (no RUN SUPER)