date picker events?

  • Thread starter Thread starter nomit
  • Start date Start date
N

nomit

Hiya

Sorry am flumused about using the date picker on a form.

i can either

1 have a DTPicker1 bound to another field and only
when the focus goes from DTPicker1 does the bound field
update

2 have an unbound DTPicker1 that will fire a click
event whan I click on the "text box" part of the control
as opposed to the drop down arrow/choosing a date.

Neither of these are ideal for registering changes in
DTPicker1 value.

Is theer another event I'm missing or another way around
this?- cheeeeeeeeeeers
 
Well, you could rebind it to a field and use the CustomPropertyChange event
of the item.
 
I could but the CustomPropertyChange event only fires when
the datepicker loses the focus not before.

I'm having to put validation on the item_close event
rather than on the controls. At least when I save and
close my item it registers teh change in teh date picker
although the focus hasn't visually changed

Cheers
 
Back
Top