Kbase P97629: How to launch the dependent window using a button instead of double-click on the browser row.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/11/2004 |
|
Status: Unverified
GOAL:
How to launch the dependent window using a button instead of double-click on the browser row.
FIX:
Set up the independent window to correctly launch the dependant window when double-clicking on a row
Create a smartFrame with a button. In the button "CHOOSE" trigger write the code you will find at the end of this KB. Save the smartFrame and register it in the repository.
Insert the smartFrame you just created in the container you have built in step 1.
Create a user defined link: smartFrame as source,the Browser as target, link name, for example, "myLink"
Save and Run the container. You can now click on the button.
/* this is the code that has to be inserted in the button "CHOOSE" trigger */
DEFINE VARIABLE hInProc AS HANDLE NO-UNDO.
hInProc = DYNAMIC-FUNCTION('linkHandles':U,
INPUT 'vito-TARGET' /* CHARACTER */).
RUN launchFolderWindow IN hInProc
( INPUT 'view' /*CHARACTER*/).