How to select tab from external Procedure ?

Posted by Admin on 07-Sep-2009 07:11

Dear All,

   I am launching one ADM2 demo application having Smart Folder, from an external procedure file.

   I just want to select desired tab on screen from external (launching) procedure file.

   By navigating current window handle I am Able to get FIELD-GROUP handle. But when I tried attributs like NUM-TABS and GET-TAB-ITEM(2).

   It gives me 0 and NULL value respectively.

  Please suggest me the right way to select any particular Tab.

Thanks

Vishwdeep 

All Replies

Posted by Admin on 07-Sep-2009 12:48

vishwdeep.pandey schrieb:

Dear All,

   I am launching one ADM2 demo application having Smart Folder, from an external procedure file.

   I just want to select desired tab on screen from external (launching) procedure file.

If you've got the procedure handle of the SmartWindow you are launching, just run

RUN selectPage IN hSmartWindow (n) .

Where hSmartWindow is the handle to your SmartWindow procedure and n is the desired page number (starting with 1). Paging in ADM2 is a feature of the container, not the SmartFolder.

Posted by Admin on 09-Sep-2009 04:09

Thanks.

I was using wrong proceduer handle.

Now, Its working fine.

This thread is closed