PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..DeleteButton is used to find out and modify the presence and position of a delete button in a Text edit control.
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 is not available for the multiline, numeric, date and time edit controls, ...
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment