Consultor Eletrônico



Kbase 17654: How To Get The Number Of Tabs On A SmartFolder
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
How To Get The Number Of Tabs On A SmartFolder

INTRODUCTION:
=============
The following code, when executed from the SmartObject which contains
the SmartFolder, will tell you how many tabs the SmartFolder has.


DEFINE VARIABLE intNumPages AS INTEGER NO-UNDO.

RUN request-attribute IN adm-broker-hdl (INPUT THIS-PROCEDURE,
INPUT "PAGE-SOURCE",
INPUT "FOLDER-LABELS").

IF RETURN-VALUE <> ? THEN
ASSIGN intNumPages = NUM-ENTRIES(RETURN-VALUE,"|").

Progress Software Technical Support Note # 17654