set-delegate in text:delegate<%>

This method sets the current delegate.