Results 1 to 12 of 12

Thread: Oval UserControl

Hybrid View

  1. #1
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808

    Re: Oval UserControl

    Quote Originally Posted by Joacim Andersson
    No it wouldn't. But he doesn't so it doesn't matter. I just provided a very simple solution without going in to any APIs or advanced mathematical code.

    Another solution would be to simply set the BackStyle of the UserControl to Transparant, since the mouse move event will not be fired while the mouse is over a transparent part.
    Apparently, if you set the BackStyle to transparent... none of the components in it are visible (similar as if the usercontrol was invisible). Is there anything else that needed to be set to avoid this??
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Oval UserControl

    Quote Originally Posted by Mc Brain
    Apparently, if you set the BackStyle to transparent... none of the components in it are visible (similar as if the usercontrol was invisible). Is there anything else that needed to be set to avoid this??
    That's not true. Put a Shape control on a usercontrol, set the BackStyle to transparent and see for yourself. The Shape is still visible.

    EDIT: See the attached image, as you can see the UserControl is transparent but the Shape control is visible.
    Attached Images Attached Images  
    Last edited by Joacim Andersson; Apr 22nd, 2005 at 08:18 AM.

  3. #3
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808

    Re: Oval UserControl

    Ok, you're right. I opened a new project and was able to do it. I don't know why but I couldn't on the other one. However, if you use an Image (with transparent backgound), the effect is not seen.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  4. #4

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    8

    Re: Oval UserControl [closed]

    Many Thanks for all the input. I think I now consider this resolved.

    jeffow

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