PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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 WithInput property is used to determine if a Combo Box supports data input, and to enable or disable this behavior.
Example
IF bExpertMode = True THEN
COMBO_InternetAddress.WithInput = True
END
 
IF COMBO_InternetAddress.WithInput = True THEN
sNetAddress = COMBO_InternetAddress
ELSE
sNetAddress = COMBO_InternetAddress[COMBO_InternetAddress]
END
Syntax

Finding out whether a Combo Box control is editable or not Hide the details

<Result> = <Combo Box control>.WithInput
<Result>: Boolean
  • True if the Combo Box control is editable,
  • False otherwise.
<Combo Box control>: Control name
Name of Combo Box control to use.

Allowing (or not) the input in a Combo Box control Hide the details

<Combo Box control>.WithInput = <Input type>
<Combo Box control>: Control name
Name of Combo Box control to use.
<Input type>: Boolean
  • True if the Combo Box control must allow the input,
  • False otherwise.
Remarks
  • The value returned by the Combo Box control is different depending on whether the control supports data input (WithInput property set to True) or not (WithInput property set to False).
  • In an editable Combo Box control (WithInput property set to True), the user can enter a value in the control using the keyboard. Otherwise, the user can only choose a value in the list/table/popup expanded by the Combo Box.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment