newbe: create new event with designer

  • Thread starter Thread starter Peter Ramsebner
  • Start date Start date
P

Peter Ramsebner

Hi all,

with dobleclick on a control, the forms designer create a new eventhandler
for the actual control.
When you need an eventhandler for specific events (for example 'validating')
then you have to do it manually?
Or exists a way to do it with the designer?

Thanks for help

Peter
 
Look at the drop downs on the top of your code windows. They show anything
declared WithEvents, and the events (that are visible) will be in the drop
down to the right.
 
Thanks for your help!


CJ Taylor said:
Look at the drop downs on the top of your code windows. They show anything
declared WithEvents, and the events (that are visible) will be in the drop
down to the right.
 
Peter,

* "Peter Ramsebner said:
with dobleclick on a control, the forms designer create a new eventhandler
for the actual control.
When you need an eventhandler for specific events (for example 'validating')
then you have to do it manually?
Or exists a way to do it with the designer?

Select the control in the left combobox on top of the text editor
window, then select the event in the right combobox.
 
Back
Top