We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

PercentTextBox select all

Thread ID:

Created:

Updated:

Platform:

Replies:

6700 Aug 22,2003 09:06 AM Aug 27,2003 06:07 AM Windows Forms 5
loading
Tags: Tools
Dave Erwin
Asked On August 22, 2003 09:06 AM

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%. TIA, Dave Erwin

Administrator [Syncfusion]
Replied On August 22, 2003 01:57 PM

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. Regards, Guru Patwal.

Dave Erwin
Replied On August 25, 2003 05:14 AM

Version 1.6.1.0 Thanks, Dave

Dave Erwin
Replied On August 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. Thanks > 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. > > Regards, > Guru Patwal. >

Administrator [Syncfusion]
Replied On August 26, 2003 12:28 PM

Hi Dave, We have tested for this issue in version 1.6.1.0 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. Regards, Guru Patwal.

Administrator [Syncfusion]
Replied On August 27, 2003 06:07 AM

Hi Dave, 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. Regards, Guru Patwal.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;