Attaches an event an event handler to a control event.
For example, you use this method to wire an a button's Click event to your form's handler method that handles this event.
*** Hookup button click event to btnDelete_Click on Page Class THIS.btnDelete = CREATEOBJECT("wwwebbutton",THIS) THIS.btnDelete.Id = "btnDelete" THIS.btnDelete.HookupEvent("Click",THIS,"btnDelete_Click") THIS.btnDelete.Text = [Delete] THIS.AddControl(THIS.btnDelete)
See also:Class wwWebControl
Comment or report problem with topic