Problem with Date & Time Picker on Tabbed form

DaveJHPT

Registered User.
Local time
Today, 10:32
Joined
Mar 17, 2005
Messages
64
Problem with Date & Time Picker on Tabbed form - not the usual problem!

Hi all

This isn't the standard problem with DTPickers & Tab to which I've found lots of references!

I have a form with a Tab control, each page of which has a subform on it. There are several MS Date & Time Picker (6.0) controls on each tab. My problem is this: whenever you change tab when one of these DTPickers has the focus, you then can't type text (into a text or combo box, for instance) on the new tab until you have been into and out of another DTPicker control! (The KeyPress etc events do get triggered though). Once you've selected a DTPicker, you can then select another control and type text in OK.

The forms/controls aren't bound if that's relevant. It may be that the problem is caused by moving between subforms rather than between tabs.

Has anyone else had trouble with this? Is it a bug or expected behaviour (though I can't see why it would be)?

And most importantly, how can I get around it? Hope someone can help.

Dave
 
Last edited:
Have you tried adjusting the tab order of the controls on the Subforms so the DatePicker is not 1st in the list?
 

Users who are viewing this thread

Back
Top Bottom