PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property ModeSaisie allows you to know and modify the input mode on a Smartphone.. This property has no effect on the other types of mobile devices. See Input mode on Smartphone for more details.
InputMode applies to:
  • an edit control.
  • an editable Combo Box.
Example
// -- Entry of EDT_CustomerName
// Modify the input mode when the edit cursor enters into the EDT_CustomerName control
SAI_ClientName.ModeSaisie = inputTypeT9
// -- Exit from EDT_CustomerClient
// Find out the input mode used in the EDT_CustomerName control
nResInputMode is int
nResModeSaisie = SAI_NomClient_ModeSaisie
Syntax

Finding out the input mode of a control Hide the details

<Result> = <Control to use>.InputMode
<Result>: Integer constant
Input mode for the specified control. The possible values are:
inputType123"123" mode
inputType_abc"abc" mode in lowercase characters
inputTypeABC"ABC" mode in uppercase characters
inputTypeDefaultInput mode optimized according to the characteristics of current control or default input mode defined by the user of Smartphone
inputTypeT9"T9" mode in lowercase characters
inputTypeT9Upper"T9" mode in uppercase characters
inputTypeTextLast input mode in lowercase characters used (inputTypeT9 or inputType_abc)
inputTypeTextUpperLast input mode in uppercase characters used (inputTypeT9Upper or inputTypeABC)

See Input mode on Smartphone for more details.
<Control to use>: Control name
Name of control to use:
  • Edit control,
  • Combo Box control.

Modifying the input mode of a control Hide the details

<Control to use>.InputMode = <New input mode>
<Control to use>: Control name
Name of control to use:
  • Edit control,
  • Combo Box control.
<New input mode>: Integer constant
New input mode for the specified control. The possible values are:
inputType123"123" mode
inputType_abc"abc" mode in lowercase characters
inputTypeABC"ABC" mode in uppercase characters
inputTypeDefaultInput mode optimized according to the characteristics of current control or default input mode defined by the user of Smartphone
inputTypeT9"T9" mode in lowercase characters
inputTypeT9Upper"T9" mode in uppercase characters
inputTypeTextLast input mode in lowercase characters used (inputTypeT9 or inputType_abc)
inputTypeTextUpperLast input mode in uppercase characters used (inputTypeT9Upper or inputTypeABC)

See Input mode on Smartphone for more details.
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment