[progress Communities] [progress Openedge Abl] Forum Post: Re: Call Class Methods In .p...

  • Thread starter Thread starter Mike Fechner
  • Start date Start date
Status
Not open for further replies.
M

Mike Fechner

Guest
You need to modify your code, so that the procedure receives a typed reference variable of the class as an input parameter. Then the procedure can use this input parameter and call into class methods. In the Class: RUN yourProcedure.p (THIS-OBJECT). In the procedure: DEFINE INPUT PARAMETER poObject as YourClass NO-UNDO . poObject:SomeMethod (). the fact that the SOURCE-PROCEDURE handle points to something for procedures invoked from a class was accidental and should not be relied on.

Continue reading...
 
Status
Not open for further replies.
Back
Top