Is there a way to make a percenttextbox select all when it gets focus? Tabbing to the control puts the cursor after the % sign. When I use .selectall in the enter event for the box it reverts to the .023 format instead of 2.30%.
ADAdministrator Syncfusion Team August 22, 2003 01:57 PM
We could not reproduce this issue here. The PercentTextBox works fine with both Enter and GotFocus events with SelectAll() method within their event handlers. Please let us know the version of Essential Tools that you are using. Thanks for your cooperation.
DEDave ErwinAugust 25, 2003 05:14 AM
DEDave ErwinAugust 26, 2003 05:12 AM
I removed the % symbol and put it back and it seems to have fixed it. Don't know what the problem was.
> Hi Dave,
> We could not reproduce this issue here. The PercentTextBox works fine with both Enter and GotFocus events with SelectAll() method within their event handlers. Please let us know the version of Essential Tools that you are using. Thanks for your cooperation.
> Guru Patwal.
ADAdministrator Syncfusion Team August 26, 2003 12:28 PM
We have tested for this issue in version 126.96.36.199 and later, but were not able to reproduce the error. I have also attached the sample code that we had used for testing. However, I have notified the development team about the problem that you are facing, and I will get back to you with more information at the earliest. Thanks for your patience.
ADAdministrator Syncfusion Team August 27, 2003 06:07 AM
The PercentTextBox has a property, SwitchModeOnFocus, that dictates whether the control should switch the display when it receives focus. If this property is set to true, that would explain the reason it switches the display text from 2.30% to .023. Let me know if this helps.