|
|
|
|
|
DeleteButton (Property) In french: BoutonSuppression
The DeleteButton property allows you to determine if there is an automatic delete button in a Text Edit control, and to change its position. // Enables the delete button on EDT_Edit1 // The button is always visible EDT_Edit1.DeleteButton = dbAlwaysVisible
Syntax
Getting the position of the delete button in the Edit control Hide the details
<Result> = <Edit control>.DeleteButton
<Result>: Integer constant Position of the delete button:
| | dbAlwaysVisible | The delete button is always displayed. | dbinEdit | The delete button is displayed when the Edit control is in edit mode. | dbNone | The delete button is not displayed. | dbOffEdit | The delete button is displayed when the Edit control is not in edit mode. |
<Edit control>: Control name Text Edit control to use.
Changing 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 the delete button:
| | dbAlwaysVisible | The delete button is always displayed. | dbinEdit | The delete button is displayed when the Edit control is in edit mode. | dbNone | The delete button is not displayed. | dbOffEdit | The 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|