Thanks Michael.  Here is what I found.  I have hours and minutes 
activated.  If I change hours and tab out, the value of the control does 
not change.  If I change hours and right arrow over to the minutes and 
tab out, the value changes.  The lost focus is firing but the value of 
the control is not changing unless I apply focus to both hours and 
minutes.  Not exactly the results I would like to see, but I can live 
with it.

Jeff

Jeff Johnson
j...@san-dc.com
SanDC, Inc.
623-582-0323
Fax 623-869-0675



MB Software Solutions, LLC wrote:
> Jeff Johnson wrote:
>> I am using an OLE time spinner on a form.  The class is 
>> MSComCTL2.DTPicker2.  I have code in the lostfocus that updates a field 
>> in the table.  If I click another control on the form the lostfocus 
>> fires and the field is updated.  If I tab off of the OLE control the 
>> lostfocus does not fire and the field is not updated.
>>
>> How can I get the lostfocus to fire when tabbing off of the control?
>>
>> TIA
>>
> 
> 
> Doesn't it have it's own native events for this?
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.409 / Virus Database: 270.13.61/2313 - Release Date: 08/19/09 
> 06:03:00
> 


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4a8caf04.2040...@san-dc.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to