AutoRunOnDrop Property (Headline Control)
   Windows - Visual C++
   Description
   The AutoRunOnDrop property is used 
   to disable automatically running a new search when text is dragged to 
   the Headline Control.
   Syntax
   BOOL result = GetAutoRunOnDrop();
SetAutoRunOnDrop(BOOL result);
The AutoRunOnDrop syntax has these parts:
| Part | Description | 
| result | A boolean value indicating whether the AutoRunOnDrop property is set to TRUE or FALSE. | 
Remarks:
If the AutoRunOnDrop property is set to TRUE, a new search will be run when any form of text is dropped into Headline control. The contents of the dropped text are stored in the SearchCriteria property. If the AutoRunOnDrop property is set to FALSE, text that is dropped into the headline control will still populate the SearchCriteria property, but a new search will not be run automatically. It is up to the NewsObjects Programmer to manually call the Run method to start a new search when the OnDrop event is fired.
See Also: Run, DisableDrop, OnDrop, SearchCriteria
Back to: Headline Properties