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 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:
dbNoneThe delete button is not displayed.
dbinEditThe delete button is displayed when the edit control is in edit mode.
dbOffEditThe delete button is displayed when the edit control is not in edit mode.
dbAlwaysVisibleThe delete button is always displayed.
<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:
dbNoneThe delete button is not displayed.
dbinEditThe delete button is displayed when the edit control is in edit mode.
dbOffEditThe delete button is displayed when the edit control is not in edit mode.
dbAlwaysVisibleThe delete button is always displayed.
Remarks
The delete button is available for the 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