Wondering how i can get or set the carrot position in UltraTextbox. In ms .net controls you can use the myTextBox.Select(5,5) to select the fift position in a text/set the carrot to the fift position.
Is this posible with infragistic controls?
By the way, is it possible with the ultradate control??
Yes; see SelectionStart and SelectionLength properties.
Thanx for the answer, but i have tried those two properties... they dont seem to do the job.
I can fill you in with the my current problem.
In one of the cases where i need it work is with the UltraDateTimeEditor. The format/mask i am using on this control is dd.mm.yyyy. When i enter this control i want the carrot to possition somewhere between on "dd". Then i can use the up/down keys to move up and down in dates (days).But when i enter the control the carrot is at the end of "yyyy" and when the up/down keys are used they up and down in years.
I have hooked up on the "Enter" event. I have debugged the code and i know the event is fired on enter.
My code:
private