JWColby
jwcolby at colbyconsulting.com
Wed Mar 7 05:17:55 CST 2007
IT is, therefore it exists. If IT exists, it must have the focus, at least long enough to determine that IT is. What is less clear, do YOU exist. >From over there IT is not certain. ;~) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Wednesday, March 07, 2007 6:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Lost Focus. Not? Hello, As always, your writings make me smile, How does the box know that it ever truely had the focus? Cheers Mark On 07/03/07, Rocky Smolin at Beach Access Software <rockysmolin at bchacc.com> wrote: > Jim: > > Well my problem was in having unrealistic expectations about the > behavior of others - other controls that is. You would think that by > the time a Lost Focus event occurs, that the control could no longer > have the focus. How sadly mistaken I was. > > You see, when the combo box triggers its Lost Focus event, it really > hasn't given up it's focus. It is clinging desperately to the past, > insisting that it has really not lost focus, and is in denial about > the need to let go of its visibility. > > I learned all this by watching Dr. Phil's week long Access special. > > Rocky > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Tuesday, March 06, 2007 10:54 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Lost Focus. Not? > > Hi Rocky: > > This should only happens if your cursor is sitting or you have focus > on the field you are trying to turn visibility off on. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Tuesday, March 06, 2007 12:13 PM > To: 'Access Developers discussion and problem solving' > 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/712 - Release Date: > 3/6/2007 > 3:42 PM > > > -- > 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