Click to See Complete Forum and Search --> : my pictureclip control does not support icons


coolily
January 20th, 2000, 03:14 PM
cant i use icons for picture in a pictureclip control?

Anon
January 21st, 2000, 09:10 AM
i have the same problem

January 21st, 2000, 01:58 PM
cant i use an icon for my picture clip control???????

Aaron Young
January 21st, 2000, 02:32 PM
The PictureClip doesn't support the Icon format, you can work around it though, by first loading the Icon into a Picturebox, then Using the Image of the Picturebox as the Picture Source for the PictureClip, ie.

private Sub Command1_Click()
Picture1.AutoSize = true
Picture1 = LoadPicture("..\Common\Graphics\Icons\Computer\CDROM01.ico")
PictureClip1.Picture = Picture1.Image
End Sub




Aaron Young
Analyst Programmer
ajyoung@pressenter.com
aarony@redwingsoftware.com