ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Details
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The SelectionIfReadOnly property is used to determine and specify if the content of an Edit control can be selected when in read-only mode.
Remark: This property corresponds to the "Selection in read-only" option in the "Details" tab of the Edit control description window.
Example
EDT_Date.SelectionIfReadOnly = False
EDT_Date.State = Inactive
Syntax

Finding out whether the content of an Edit control can be selected when in read-only mode Hide the details

<Result> = <Edit control>.SelectionIfReadOnly
<Result>: Boolean
  • True if the content of an Edit control can be selected when in read-only mode,
  • False otherwise.
<Edit control>: Control name
Name of the Edit control to be used.

Indicating whether the content of an Edit control can be selected when in read-only mode Hide the details

<Edit control>.SelectionIfReadOnly = <New value>
<Edit control>: Control name
Name of edit control to use.
<New value>: Boolean
  • True if the content of an Edit control can be selected when in read-only mode,
  • False otherwise.
Remarks

Details

  • By default, the SelectionIfReadOnly property is set to True.
  • If the SelectionIfReadOnly property is set to False and if the Edit control is read-only, clicking on the control will have no effect.
  • If the control is grayed out, the SelectionIfReadOnly property is ignored.
  • If the control is enabled, the SelectionIfReadOnly property is ignored.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help