Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView not allowing ImageList to be set
Message
De
14/07/1997 10:39:17
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
 
 
À
09/07/1997 15:27:42
Alex Zhadanov
Computer Generated Solutions
New York City, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00039081
Message ID:
00039825
Vues:
33
>>Hi all. I am trying to add an ImageList to a TreeView ActiveX control, but whenever I try to set myform.TreeView.ImageList = myform.ImageList, I get INVALID OBJECT OLE error... The ImageList was dropped on the form before the TreeView. It also does not work in interactive mode, and it cannot be set through the TreeView's property sheet. Any clues?
>
>Try the following code in the INIT event of TreeView control:
>
q>this.object.ImageList = thisform.imaglist1.object
>where imagelist1 is name of ImageList control

That worked pretty well...thank!
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform