Defining drag-and-drop event handlers

For WinStudio to handle the "drag-from" and "drop-on" events, if your drag-and-drop operation is not a standard event (such as StdFormNew), you must specify the event handlers to use during the operation.

To specify the event handlers:

  1. With a form open and in Design Mode, from the Edit menu, select Event Handlers.
  2. In the Event Handlers dialog box, click New.
  3. In the Event Handler Properties dialog box, specify the event for the handler.

    This must be the same event you assigned to the Drag From Events property and the Drop On Events property.

  4. Specify the event response type and parameters.
  5. Click OK.
相关主题