Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Minimal update since the initial 10.1 release. 10.0 version

## drop-put

Arguments: tab-control value &optional position

Called when an allowed drop takes place to tell the control over which the value was dropped to accept the value in some way. The default method sets the value of the control to be the dropped value.

Other built-in drop-put methods specializing on `button`, `picture-button`, `check-box`, and `radio-button` set the title of the control, since the value is not very interesting.

The method for an item-list also adds the new-value to the item-list's range if not there, placing it between existing items according to where the mouse cursor is located at the time of the drop.

The method for `combo-box` also adds the new-value to the combo-box's range if not there already.

The methods for `editable-text` and `multi-line-editable-text` coerce the new-value to a string before dropping it in.

See the description of the `tab-control` class/control.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Minimal update since the initial 10.1 release. 10.0 version