PRB: Cannot Set the Visible Property of the PicClip ControlID: Q141907 3.00 3.00b WINDOWS kbole kbprb kbhowto The information in this article applies to:
SYMPTOMSWhen the PicClip control is inserted as an OLE control in a form, it is not visible. The Visible property of the control cannot be set to true (.T.).
CAUSEThe PicClip control is designed to select an area of a source bitmap that other controls, such as the Outline control, can use. It is invisible at run time.
STATUSThis behavior is by design.
MORE INFORMATIONThe PicClip control exposes properties that allow you to divide a source bitmap into a grid of smaller images, and to select an area of a source bitmap. It is efficient when you want to display a specific area of the bitmap at a given time because you do not have to load different bitmaps. The following step-by-step procedure illustrates how to use the PicClip control to select an area of a bitmap that is displayed in the Outline control.
Step-by-Step Example1. Using a Paint program, change the image attributes to a width of 90 2. Create a new form.
3. Select the OLE Container Control in the Form Controls toolbar, click 4. Select the control on the form, and, from the Property sheet, change the
5. Select the Picture property, click the Browse button and select the
6. Set the Rows property of the control to 1 and the Cols property to 3.
7. Using the OLE Container control, insert the Outline control on the form, 8. Add a command button to the form, and place the following code in its
9. Save the form and run it. When you click the command button, the picture
Additional reference words: 3.00 3.00b VFoxWin
KBCategory: kbole kbprb kbhowto
KBSubcategory: FxinteropOcx
|
Last Reviewed: January 9, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |