Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSFlexGrid, Help please.
Message
From
23/04/1999 13:42:16
 
 
To
23/04/1999 13:18:42
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00211485
Message ID:
00211616
Views:
35
>>>>Try verifying if oPicture is a valid object after LoadPicture
>>>>
>>>>oPicture = LoadPicture(...)
>>>>If VarType(oPicture)="O" And !IsNull(oPicture)
>>>> ....
>>>>Else
>>>> Wait Wind "oPicture isn't an object - LoadPicture failed"
>>>>EndIf
>>>
>>>You might want to verify that the imagelist control is being instantiated before the the flexgrid control.
>>
>>
>>Hello Joseph
>>MSFlexGrid
>>Does not require ImageList. But if it to use I receive a similar error
>>THISFORM.oleFlex1.object.CellPicture= THISFORM.oleImageList.ListImages(1).Picture
>>"Member not found"
>
>
>I haven't used the flexgrid control, however, I've received similar "Member not found" errors using ActiveX toolbar and listview controls.
>
>What objects method code are you using to executed the above code. I've found that if I change the value of an activeX controls property from another objects method code, especially another ActiveX control, strange things can happen.
>
>Try putting your code in the flexgrid init code if it's not already their. Better yet, subclass the control and create a method to do load the images. Also, try releasing any object variables you create right after your done with them.

Hi again
I use it in Commandbutton.CLICK() method. I want to store bitmaps to a exists FlexGrid cells. I think it is problem ActiveX and VFP both... In Visual Basic I have not any error with it... I will try to make subclass, maybe it will work correctly.
Thanks for you reply.
Denis.
Previous
Reply
Map
View

Click here to load this message in the networking platform