Message 1 of 4
form event

Not applicable
09-30-2004
02:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
I have a form with 100 images. So instead of wrting 100 times "private sub image1_click() " + the code for it etc, i would like to have an event mouse_click for the form after which i can check the x,y position and so determine which image was clicked.
I know a mouse_click event for the form already exists, but it will only react when you actually click a space on the form and not a control on the form.
Any ideas?
thanks in advance,
Emmanuel
I have a form with 100 images. So instead of wrting 100 times "private sub image1_click() " + the code for it etc, i would like to have an event mouse_click for the form after which i can check the x,y position and so determine which image was clicked.
I know a mouse_click event for the form already exists, but it will only react when you actually click a space on the form and not a control on the form.
Any ideas?
thanks in advance,
Emmanuel