[AccessD] Lost Focus. Not?

William Hindman wdhindman at dejpolsystems.com
Tue Mar 6 19:32:34 CST 2007


...Confucius say: He who seeks satisfaction from Access is doomed to a 
half-life.

William Hindman

----- Original Message ----- 
From: "Rocky Smolin at Beach Access Software" <rockysmolin at bchacc.com>
To: "'Access Developers discussion and problem solving'" 
<accessd at databaseadvisors.com>
Sent: Tuesday, March 06, 2007 8:13 PM
Subject: Re: [AccessD] Lost Focus. Not?


> "It hasn't quite lost focus yet, "
>
> D'oh!  Is this a programming language or a philosophical debate?
>
> OK, I yield. In the after update event of the combo box I set the focus to
> the next logical field and then disappeared the combo box.
>
> But spiritually it is quite unsatisfying.
>
> Rocky
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of 
> artful at rogers.com
> Sent: Tuesday, March 06, 2007 12:38 PM
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] Lost Focus. Not?
>
> It hasn't quite lost focus yet, since its lost focus event is still 
> running.
> You might be better off specifically setting the focus to a new control,
> within your lost focus event. Then you can hide the control.
>
>
> Arthur
>
>
>
> ----- Original Message ----
> From: Rocky Smolin at Beach Access Software <rockysmolin at bchacc.com>
> To: Access Developers discussion and problem solving
> <accessd at databaseadvisors.com>
> Sent: Tuesday, March 6, 2007 3:12:30 PM
> Subject: [AccessD] Lost Focus. Not?
>
>
> Dear List:
>
> When the following code is run:
>
> Private Sub cboManufacturers_LostFocus()
>    Me.cboManufacturers.Visible = False
> End Sub
>
> I get an error that says "You can't hide a control that has the focus."
> Doesn't seem to make sense.  What am I missing here?
>
> TIA,
>
> Rocky
>
>
>
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.7/711 - Release Date: 3/5/2007
> 9:41 AM
>
>
> -- 
> 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