[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: How do I pass the required parameters for this .NET class object?

  • Thread starter Thread starter Laura Stern
  • Start date Start date
Status
Not open for further replies.
L

Laura Stern

Guest
You can’t really use delegates from the ABL. These are generally used for events. Are you trying to subscribe to an event? Seems like it. If so, This would be a common way to do it where Obj is the object instance that owns/fires the event: Obj: :Subscribe( ). You would use that from within a class where the method belongs to the class. methodName is the name without quotes. If the method is in a different class you’d need to pass the object instance as the 1st parameter. If you’re in a procedure you would do: Obj: :Subscribe(“ ”). Or Obj: :Subscribe(procHdl, “ ”). Where procHdl could be THIS-PROCEDURE. If you leave it out, it’s the default. The name is in quotes in this case.

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