PRB: Invalid DragIcon Property Is Ignored
Article ID: 134305
Article Last Modified on 2/15/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q134305
SYMPTOMS
Specifying an invalid DragIcon property for an object on a form at run time
does not result in an error when the object is dragged. The default
DragIcon is used.
Setting the DragIcon property to an invalid file name at design time in the
properties sheet of the object does result in a "File does not exist"
error.
CAUSE
This behavior occurs if the file name provided for the DragIcon property is
a non-existing file, or if the file is neither in the default directory nor
on the FoxPro path.
WORKAROUND
Check for validity of the property using the FILE() function, and display a
warning if necessary.
STATUS
Microsoft is researching this behavior and will post new information here
in the Microsoft Knowledge Base as it becomes available.
Additional query words: 3.00 VFoxWin
Keywords: KB134305