共用方式為


OLEDropTextInsertion Property

Specifies if you can drop text in the middle of a word in the text box portion of a control.

Object.OLEDropTextInsertion[= lExpression]

Parameters

  • lExpression
    The settings for the OLEDropTextInsertion property are:
    Setting Description
    0 (Default) Text can be dropped into a word.
    1 Text can only be dropped before or after a word.

Remarks

The OLEDropMode property of a control must be set to 1 – Enabled to drop text in the text box portion of the control.

See Also

OLE Drag-and-Drop Overview | OLEDropMode Property

Applies To: ComboBox | EditBox | Spinner | TextBox