Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UserControl Icon
Message
From
25/05/2001 14:01:03
 
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00511636
Message ID:
00511638
Views:
15
>Anyone know how to get a specific icon for a user control in the IDE toolbox?

M$ online ...
Providing a Toolbox Bitmap for Your Control

The Toolbox bitmap size is 16 pixels wide by 15 pixels high, as specified by the ActiveX control specification. You can create a bitmap this size, and assign it to the ToolboxBitmap property of your UserControl object.

Important Do not assign an icon to the ToolboxBitmap property. Icons do not scale very well to Toolbox bitmap size.

Visual Basic automatically uses the class name of your control as the tool tip text when users hover the mouse pointer over your icon in the Toolbox.

Tip When creating bitmaps, remember that for many forms of color-blindness, colors with the same overall level of brightness will appear to be the same. You can avoid this by restricting your bitmap to white, black, and shades of gray, or by careful color selection.
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Reply
Map
View

Click here to load this message in the networking platform