how to create control events

how to create control events 740