ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Details
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 "Display selection" option in the "Detail" 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 the Edit control to be used.
<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: 09/30/2024

Send a report | Local help