DOCERR: Picture Property Cannot Be Set to a General FieldID: Q139184 3.00 WINDOWS kbtool kbdocerr The information in this article applies to:
SUMMARYThe Visual FoxPro documentation incorrectly states that a control's Picture property can either be set to a bitmap (.bmp) file, an icon (.ico) file, or a general field in a table. The picture property of a control can only be set to a bitmap or icon file. If the Picture property is set to a general field, the image will not appear.
MORE INFORMATIONTo display an image on a form from a general field, use an OLE Bound control instead of the image control. Set the ControlSource property of the OLE Bound Control to the general field. To display a picture on some other type of object such as a command button, use a bitmap or icon file.
Step-by-Step Example1. Create a new form. 2. Add a table containing a general field to the form's data environment. 2. Add an image control to the form. 3. Select the Picture property in the properties sheet, and click the fx 4. Select the general field from the fields list, and click OK.
5. Save and run the form. When the form is run, a gray box appears where Additional reference words: 3.00 VFoxWin
KBCategory: kbtool kbdocerr
KBSubcategory: FxtoolFormdes
|
Last Reviewed: November 13, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |