Using objects as procedure arguments

Is there any way to use a generic object/component as an argument to a procedure? For example, I want to have a procedure that takes in a button as an argument and changes its background color (+ some other stuff). Is there a way to accomplish this task, or is there an extension that could help me?

Normal procedure takes such an argument.

blocks (74)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.