• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

Icon for UserControl

Is there a way to change the icon that displays in the toolbox for a UserControl made in VB6?
0
MVArena
Asked:
MVArena
  • 3
  • 2
1 Solution
 
caraf_gCommented:
Yes. Set the ToolboxBitmap property. Note: it's a bitmap, not an icon.
0
 
caraf_gCommented:
<note>
0
 
Éric MoreauSenior .Net ConsultantCommented:
The bitmap must be 15*16 (or 16*15??? I don't remember) pixels or else your bitmap will be scaled to fit that dimension.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
MVArenaAuthor Commented:
Question answered..how did I miss that???????
0
 
caraf_gCommented:
Easy. You've been looking for an "Icon" property. Micro$oft in their wisdom decided once again to go counterintuitive on this one. Took me a while to find this one too.
0
 
MVArenaAuthor Commented:
Thanks caraf. I was hanging my head on that one.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now