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 th
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
>
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
Hi
I made a class with the activeX, dtapicker.
In the init of the class;
this.oBject.value = datetime()
this.customFormat = "whatever"
In the object in my form, dtapicker1.
In the change method;
replace myDtaTime with this.oBject.value IN myDbf
And it worked for me.
HTH, E.
Jeff Johnson wrote:
> 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 t
The change method did the trick!
Thanks,
Jeff
Jeff Johnson
j...@san-dc.com
SanDC, Inc.
623-582-0323
Fax 623-869-0675
Eurico Chagas Filho wrote:
> Hi
>
> I made a class with the activeX, dtapicker.
> In the init of the class;
> this.oBject.value = datetime()
> this.customFormat = "whate
Michael: The change method worked the way I wanted it to work.
Thanks,
Jeff
Jeff Johnson
j...@san-dc.com
SanDC, Inc.
623-582-0323
Fax 623-869-0675
MB Software Solutions, LLC wrote:
>
> I'll have a look if you want me to...just zip and send.
>
_
7 matches
Mail list logo