Moving to next part in DateTimeEditBox

Editors for WPF Forum

Posted 15 years ago by Kavan Shaban
Avatar
What's the simplist way to have the DateTimeEditBox move to the next part when the user enters a valid value.

For example, if a user key "060609" it should display 06/06/09 and not stay in the month part.

Thanks,

Kavan

Comments (5)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Kavan,

This is something that will be available in the next maintenance release. There isn't a easy workaround for the current version though.


Actipro Software Support

Posted 15 years ago by Kavan Shaban
Avatar
Sounds good,

Any idea when we can expect the service pack?

Thanks again,

Kavan
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
It should be in June. We need to accumulate some more updates first.


Actipro Software Support

Posted 14 years ago by Matt Lindstrom
Avatar
Has the functionality to eliminate the need for tabbing (between month/day/year) in the DateTimeEditBox been implemented in the 2009.1.00507 release? If so, what properties need to be set?
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Matt,

Yes, you can set the IsFocusMovedOnTerminalMatches property to true. This will move the focus from a part when it's associated Mask reaches a terminal match (meaning no more input is allowed). For example, the Month part mask is \d{1,2}, so if you type two digits then no more input is allowed and it would move focus.

You can see this in action in the PartEditBox Moving Focus QuickStart under the Editors section of our Sample Browser.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.