Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert mscomctl.ImageList to Windows.Forms.ImageList
Message
De
17/02/2008 11:52:31
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Controls activeX
Titre:
Convert mscomctl.ImageList to Windows.Forms.ImageList
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Divers
Thread ID:
01293260
Message ID:
01293260
Vues:
67
Hi,
I try to write Activex control using .NET for future use in VFP.
Because I don't know :)) how to make a special DesignTime dialog for activex.. I try to associalte MSCOMCTL.Imagelist with .NET activex control property
  Public Property ImageListOCX() As mscomctl.ImageList
        Get
            Return (_ImageListOCX)
        End Get
        Set(ByVal value As mscomctl.ImageList)
            _ImageListOCX = value
        End Set
    End Property
In the FOxPro my code looks
THisform.netactivexcontrol.ImageListOCX = THisform.oleImagelist.object

All fine :)
But .. all controls in .NET using Windows.Forms.ImageList. The Idea was.. in foxpro design time.. add standard Imagelist and Images.. and then.. when ImageListOCX Set happens.. Fill Standard Windows.Forms.ImageList with pictures from mscomctl.Imagelist.
The question only.. how to convert one format to another.. and is that possible or not

Thanks
Denis
Répondre
Fil
Voir

Click here to load this message in the networking platform