Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert mscomctl.ImageList to Windows.Forms.ImageList
Message
From
17/02/2008 11:52:31
 
 
To
All
General information
Forum:
ASP.NET
Category:
ActiveX controls
Title:
Convert mscomctl.ImageList to Windows.Forms.ImageList
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01293260
Message ID:
01293260
Views:
66
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
Reply
Map
View

Click here to load this message in the networking platform