AR
Anupama Roy
Syncfusion Team
March 7, 2006 04:46 AM UTC
Hi Yogi,
Have you tried giving SelectAll() in DoubleTextBox''s GotFocus Event?
this.doubleTextBox1.GotFocus +=new EventHandler(doubleTextBox1_GotFocus);
private void doubleTextBox1_GotFocus(object sender, EventArgs e)
{
this.doubleTextBox1.SelectAll ();
}
Please let me know if this does not satisfy your requirement.
Thank you for choosing Syncfusion.
Regards,
Anu.
AD
Administrator
Syncfusion Team
March 7, 2006 03:15 PM UTC
Tks for the reply.. the scenario i am describing is
when u tab from field to field, selectall works fine.. but when u explicitly click on the text using mouse then selectall doesn''t work.. looks to me i need to override mouseup,mousedown and mousemove event.. to achieve this flavor..
>
>Hi Yogi,
>
>Have you tried giving SelectAll() in DoubleTextBox''s GotFocus Event?
>
>this.doubleTextBox1.GotFocus +=new EventHandler(doubleTextBox1_GotFocus);
>
>private void doubleTextBox1_GotFocus(object sender, EventArgs e)
> {
> this.doubleTextBox1.SelectAll ();
> }
>
>Please let me know if this does not satisfy your requirement.
>
>Thank you for choosing Syncfusion.
>
>Regards,
>
>Anu.
AR
Anupama Roy
Syncfusion Team
March 8, 2006 02:19 PM UTC
Hi Yogi,
This seems to be working fine with mouse click also in our latest version 4.1.Infact upon a single mouse click within the text will remove the highlight.
Please let me know if you have any questions.
Thanks,
Anu.