Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

DT Picker validation event causing problems

The date time pickers I have on a SSTab are not behaving the way they should.  If the validation event fires the focus will remain on the control as  long as the user clicks on any control in the tab or anywhere on the form.  However, if the user clicks on another tab or indeed on the label of the current tab the date control will lose the focus and the user can continue.

Is this a problem with the DTPicker or the Causes Validation property of the SSTab?

I already have up to Service Pack 5 installed.

Any advice greatly appreciated.

0
syerston
Asked:
syerston
  • 2
1 Solution
 
JohnMcCannCommented:
I think your problem is neither of your suggestions.  During the Validate you are setting Cancel = True which forces the focus to remain on the control.  To prove this comment out the code in the Validate event.  This is not a problem it is what it is there for.


Hope this is of some help


John McCann
0
 
syerstonAuthor Commented:
It's okay John.

I've found a link on MSDN.  It is a problem with the SSTab control.

http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B313834

Thanks for your reply
0
 
JohnMcCannCommented:
It's ok
0
 
GPrentice00Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

 -->PAQ - with points refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER

GPrentice00
Cleanup Volunteer
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now