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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The DeleteButton property is used to determine if there should be an automatic delete button in a Text Edit control, and to change its position.
Example
// Enables the delete button on EDT_Edit1
// The button is always visible
EDT_Edit1.DeleteButton = dbAlwaysVisible
Syntax

Finding out the position of the delete button in the edit control Hide the details

<Result> = <Edit control>.DeleteButton
<Result>: Integer constant
Position of delete button:
dbAlwaysVisibleThe delete button is always displayed.
dbinEditThe delete button is displayed when the edit control is in edit mode.
dbNoneThe delete button is not displayed.
dbOffEditThe delete button is displayed when the edit control is not in edit mode.
<Edit control>: Control name
Text edit control to use.

Modifying the position of the delete button in the edit control Hide the details

<Edit control>.DeleteButton = <Delete button>
<Edit control>: Control name
Text edit control to use.
<Delete button>: Integer constant
Position of delete button:
dbAlwaysVisibleThe delete button is always displayed.
dbinEditThe delete button is displayed when the edit control is in edit mode.
dbNoneThe delete button is not displayed.
dbOffEditThe delete button is displayed when the edit control is not in edit mode.
Remarks
The delete button is available for Text Edit controls only. It cannot be used on multiline, numeric, date and time edit controls, etc.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment