drop-put

Generic Function

Package: common-graphics

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. This 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.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.