Kbase P2861: How to place a non dynamics object in a menu controller
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  7/4/2003 |
|
Status: Unverified
GOAL:
How to place a non dynamics object in a menu controller
GOAL:
How to place a non dynamics object such as a V8 SmartWindow in a Dynamics Menu Controller
FACT(s) (Environment):
Dynamics 1.1A
FIX:
1. Create a new SmartWindow.
2. In the initializeObject procedure of the SmartWindow get the runtime attribute.
3. set this to the V8 window and run it.
4. set the parent window attribute to hidden.
Added following code to InitializeObject procedure of new Static SmartWindow:
/* Code placed here will execute AFTER standard behavior. */
DEFINE VARIABLE h_V8Win AS HANDLE NO-UNDO.
DYNAMIC-FUNCTION('setRunAttribute':U, INPUT "\Calls\v8\wcustomer.w").
RUN f:\PROGRESS\91c\work\Dynamics\calls\v8\wcustomer.w PERSISTENT SET h_V8Win.
RUN adm-Initialize IN h_V8Win.
wiWin:HIDDEN = TRUE.