checking if the designer is running a control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EvilProject
    New Member
    • Nov 2007
    • 16

    checking if the designer is running a control

    Hi, i have a custom control that usually has the same color as the form.
    the problem is that when i use the designer, i cant see this control.
    what I want to do is to check whether its the designer that is painting the control or not, so i could draw a border around this control that will only be seen in the designer.how could this be done?

    thanks in advance
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    I just tried this Google search and found a bunch of responses which I thought looked relevant. Have a browse, see what you think.

    It might depend on what version of VB you're using, though.

    Comment

    Working...