|
-
Jul 27th, 2000, 11:01 AM
#1
Thread Starter
Hyperactive Member
What are the required dimensions, properties etc of an icon for me to be able to turn it into a forms icon?
I ask because I have a 32x32 bitmap (609.ico) that when I try to set as the main icon the error 'invalid property value' is returned.
-
Jul 27th, 2000, 11:22 AM
#2
_______
<?>
to my knowledge, it needs to be an .ico
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jul 27th, 2000, 11:29 AM
#3
It's probably not in Icon format, however, you can use a conversion process to convert it.
Make a Form with a PictureBox, ImageList and a CommandButton
Code:
Private Sub Command1_Click()
ImageList1.ListImages.Add 1, "Icon", Picture1.Picture
Set Form1.Icon = ImageList1.ListImages.Item(1).ExtractIcon
End Sub
-
Jul 28th, 2000, 02:24 AM
#4
Thread Starter
Hyperactive Member
Cheers
Thanks megatron,
however - icon format?
I thought that anything with .ico was an icon?
Please enlighten me!
-
Jul 28th, 2000, 08:44 AM
#5
An Icon is a Bitmap, but the format is slightly different. An Icon consists of an Image (bitmap) combined with an ImageMask to form transparent areas on it, whereas a normal bitmap does not.
-
Jul 28th, 2000, 08:46 AM
#6
Thread Starter
Hyperactive Member
ICONS
Can I export the image in a picbox to another picbox as an icon and then save it as such?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|