In some compilers, such as in Borland Delphi, Borland C++ Builder, and Borland Kylix, the Edit or Text box controls have a feature called "AutoSelect". This feature auto-selects all of the text in the Edit/Text box whenever the control gets focus.
Problem: This creates a problem when using our iKeyboard control with these controls. When you click on a key in the iKeyboard control, the edit/text box loses focus, the iKeyboard control gains focus, and then the iKeyboard control sets focus back on the edit/text box and enters the key that you pressed into the edit box. If the AutoSelect property of the Edit/Text box is set to TRUE, then all of the text in the box will be selected and replaced with the key that you typed on the iKeyboard control. Most of the time, this is not the behavior that you expect.
Remedy: Set the AutoSelect property of the Edit or Text box to FALSE.
Copyright ©1998-2007 Iocomp Software Incorporated. Iocomp and the Iocomp Logo are registered trademarks of Iocomp Software Inc. All other trademarks are registered by their respective owners.