FIX: TabPicture Property of SSTab Control Gives an OLE Error (158757)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
This article was previously published under Q158757 SYMPTOMS
When you use the TabPicture property of the SSTab control, the following
error message appears:
OLE error code 0x8002000e: Invalid number of parameters
The TabPicture property set the bitmap or icon so that it appears on the
specified tab of an SSTab control.
WORKAROUND
Use the Tab property to set the current tab. Use the Picture property to
set the graphic you want to display:
ThisForm.Olecontrol1.Object.Tab = 1
ThisForm.Olecontrol1.Object.Picture = LoadPicture(Home()+"fox.bmp")
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in FoxPro 5.0a and 6.0. REFERENCES
Visual FoxPro 5.0 Help file, version 4.005.000; Search on: "SSTab Control,"
Topic: "ActiveX Controls Overview."
Modification Type: | Minor | Last Reviewed: | 2/16/2005 |
---|
Keywords: | kbBug kberrmsg kbfix kbvfp600fix KB158757 |
---|
|