MU
Murugan
Syncfusion Team
June 9, 2007 12:28 AM UTC
Hi Kamen,
This could be achieved by customizing the DateTimePickerAdv control and overriding the ProcessCmdKey method
[Code]
public class CustomDTPA : DateTimePickerAdv
{
public CustomDTPA(): base()
{
this.Format = DateTimePickerFormat.Custom;
this.CustomFormat = "dd mm yyyy";
}
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == Keys.A)
{
keyData = Keys.Right;
}
return base.ProcessCmdKey(ref msg, keyData);
}
}
Please refer to the code snippet above and let me know if it helps you.
Thank you for your interest in Syncfusion products.
Regards,
Murugan P.S