Results 1 to 2 of 2

Thread: vb6 Shape Control for VB.NET

  1. #1

    Thread Starter
    Frenzied Member Phill64's Avatar
    Join Date
    Jul 2005
    Location
    Queensland, Australia
    Posts
    1,201

    vb6 Shape Control for VB.NET

    Hi all,

    I mainly made this because i hadn't made a control before, but also because the shape control in vb6 was useful. So those who miss the shape control, here it is.

    This control even simulates vb6's transparency system. Meaning when it's set to vb6transparency mode it can see through to other VBShape controls, not just the form.

    The vb6 transparency was tricky and as far as i can see it is working, however i can't be sure it's entirely bug free.

    This control gives you the option of a Rectangle and Circle shape
    Dotted Line and different thickness borders

    Properties to look at:
    BackColor
    ForeColor
    BorderStyle
    BorderWidth
    Shape
    vb6Transparency

    To test this control on a form you will need to first compile the control then add it to your toolbox, it won't appear in the .net list until you hit 'Browse' and select the dll

    I don't have vb6 anymore and did this from memory, so if there is any other features the old control had.. or just plain new features you would like, let me know, or feel free to add these yourself.
    Attached Files Attached Files
    Last edited by Phill64; Dec 21st, 2005 at 06:54 AM.

  2. #2
    Member
    Join Date
    Aug 2006
    Posts
    57

    Re: vb6 Shape Control for VB.NET

    many thanks bro

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