Consultor Eletrônico



Kbase 19712: ADM2. How to Change Folder Labels Programmatically
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

GOAL:

How to Change Folder Labels Programmatically

FACT(s) (Environment):

Progress 9.X
ADM2

FIX:

Smart Object Folder Labels can be changed at run time using DYNAMIC-FUNCTION and setFolderLabels.

The following code changes three folder labels and can be made conditional based on a trigger such as Choose of a Button. It could also be added unconditionally before RUN SUPER in a new override Procedure for initializeObject.

DYNAMIC-FUNCTION('setFolderLabels' IN h_folder, 'BLUE|YELLOW|RED').
RUN initializeObject IN h_folder.