Results 1 to 4 of 4

Thread: ***Resloved*** UserControl Icon

  1. #1

    Thread Starter
    Hyperactive Member GlenW's Avatar
    Join Date
    Nov 2001
    Location
    Gateshead, England
    Posts
    479

    ***Resloved*** UserControl Icon

    How do you set the icon displayed in the Tool Box for a User Control.
    This is really bugging me I can't find the answer anywhere.
    Last edited by GlenW; Aug 19th, 2002 at 10:08 AM.

  2. #2
    Fanatic Member simonm's Avatar
    Join Date
    Sep 2000
    Location
    Devon, England
    Posts
    796
    I'm sure it's a property of your user control when in design mode.

    Something like 'Icon' or 'Image'.

    I'd tell you exactly what it is but I don't have access to VB at the moment.
    Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment.

  3. #3
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    It's the ToolboxBitmap property of the UserControl. Note that it is a bitmap file, not an icon file that is required.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  4. #4

    Thread Starter
    Hyperactive Member GlenW's Avatar
    Join Date
    Nov 2001
    Location
    Gateshead, England
    Posts
    479
    Thanks sorted it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width