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