Charlotte Foust
cfoust at infostatsystems.com
Mon Oct 20 10:28:44 CDT 2008
As Gustav pointed out, the closest you come in .Net is the Validated event, with Validating being a cose runnerup for BeforeUpdate. They aren't entirely analogous, but they're way more consistent. You can also customize the program flow more in .Net by using threading, like this: If Not bValid Then Me.BeginInvoke(New Threading.ThreadStart(AddressOf SelectRunDateTime)) The above line is in a custom validation routine called from a grid cell event. The thread executes after the calling routine ends but before program flow returns to the grid. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, October 18, 2008 1:11 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] AfterUpdate equivalent Hello All: I'm grinding my way through my first VB.Net program. One of the (many) surprises I've had is the lack of AfterUpdate events for controls, in particular, for a text box. Can the LostFocus event be used safely as an equivalent? Thanks, Doug Steele _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com