PRB: Image Editor Not Saving .Cur Files as Mono ColorID: Q138312 The information in this article applies to:
SYMPTOMSWhen you use the Image Editor to edit a .cur file located in the \Vfp\Samples\Graphics\Cursors directory, it opens up the .cur file in "VGA- Color 16 Color 32x32" mode by default. If the file is saved in the VGA Color mode, it cannot be used in the DragIcon property of the form builder. The .cur file has to be saved in "VGA-Mono 2 Color 32x32" mode. The error "Cursor is corrupt or in wrong format" occurs if the .cur file is in VGA Color mode.
WORKAROUNDThe only way to save it back to a Mono 2 Color mode is to copy the file to the clipboard. Then on the File menu, click New, and paste it back in. Save the untitled file as the same name of the .cur that was saved in VGA Color mode. Once Image Editor saves it this way in Mono 2 Color mode, it can be opened back up by Image Editor in Mono 2 Color mode instead of VGA Color mode from then on.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior1. Run the \Vfp\Imagedit\Imagedit.exe file. 2. On the File menu, click Open. Change List Files of Type to *.cur. 3. Choose a .cur file from the \Vfp\Samples\Graphics\Cusrsors directory. 4. Create a new form, and place a text box on the form. Choose the DragIcon
5. Using the Image Editor, open the .cur file and copy it to the clipboard.
6. Save the untitled file as the name of the .cur file that was opened and
7. Go to the dragIcon property in Visual FoxPro, and choose the .cur file
8. In Image Editor, open the .cur file, and note that it will now open in
Additional reference words: 3.00 VFoxWin
KBCategory: kbtool kbprb
KBSubcategory: FxtoolGeneral
|
Last Reviewed: October 17, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |