Dotted Border

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Karuppasamy

    #1

    Dotted Border

    Hi

    I have created a User Control.
    I want to set Dotted Border when the control is getting focus and also
    set it back to solid border when it loses its focus.

    How to do that?

    Thanks and regards
    Karuppasamy Natarajan



  • Herfried K. Wagner

    #2
    Re: Dotted Border

    Hello,

    "Karuppasam y" <Karuppasamy.Na tarajan@isoftpl c.com> schrieb:[color=blue]
    > I have created a User Control.
    > I want to set Dotted Border when the control is getting focus and also
    > set it back to solid border when it loses its focus.[/color]

    ControlPaint.Dr awFocusRectangl e

    Related:

    HOW TO: How to Draw a Rubber Band Rectangle in Visual Basic .NET


    HTH,
    Herfried K. Wagner
    --
    MVP ยท VB Classic, VB .NET
    Die Website von H. Wagner zu .NET, Visual Basic .NET und Classic Visual Basic.



    Comment

    Working...