icon and tab of my custom control

  • Thread starter Thread starter Maileen
  • Start date Start date
M

Maileen

Hi,

I've created a custom control and it is display on MyControl tab in Toolbox.

but i would like to know how :
1. can i set a particular icon to my customer control to see it
displayed in Toolbox.
2. How to create a .dll of exe of my customr control only ?

thx,
Maileen
 
Maileen said:
I've created a custom control and it is display on MyControl tab
in Toolbox.

[...]
1. can i set a particular icon to my customer control to see it displayed
in Toolbox.

Create a 16 x 16 pixd give it the name of the class ('Class BlaBla' ->
"BlaBla.bmp"). Then you can add the bitmap to the project and set its build
action to embedded resource. Extend your code like this:

\\\
<ToolboxBitmap(GetType(BlaBla))>
Public Class BlaBla
 
Back
Top