Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSFlexGrid, Help please.
Message
De
23/04/1999 13:18:42
 
 
À
23/04/1999 12:33:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00211485
Message ID:
00211602
Vues:
53
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform