[AccessD] Raising Events in Custom Classes

Drew Wutka DWUTKA at marlow.com
Fri Oct 10 14:52:41 CDT 2003


Yes, because an event can return values....so it's 'modal'.

That way if you raise a 'ImportAboutToBegin' event, with a Cancel argument,
you can check for the Cancel argument value on the next line to determine if
you want to begin or not.

Drew

-----Original Message-----
From: Bryan Carbonnell
To: accessd at databaseadvisors.com
Sent: 10/10/03 8:21 AM
Subject: [AccessD] Raising Events in Custom Classes

A quick question about classes and events

If I create a class that has a loop in one of the methods and raise 
an event in that loop. 

If I have used WithEvents to dim the class and created an event 
handler to deal with this event, does the loop code in the class 
"pause" while the event handler handles the raised event?

--
Bryan Carbonnell - carbonnb at sympatico.ca
Experience is a wonderful thing. It enables you to recognize a 
mistake when you make it again.


_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


More information about the AccessD mailing list