custom control designer problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tim Bücker

    #1

    custom control designer problem

    Hello.

    I´ve created a simple custom control and used to drag it on a form in the visual studio designer where it then gets displayed as it
    is usual for all controls. But now I can drag it on a form as often as I want and nothing is shown and also the source code is not
    updated!

    Adding the custom control manually to the form via code it is again displayed!

    What can be a reason why a custom control can not be used in the designer?
    Thanks a lot for any ideas!

    Greetings,
    Tim.


  • Vijaye Raji

    #2
    Re: custom control designer problem

    Can you provide some more info about your control? What did you derive the
    control from? Do you handle the OnPaint method yourself?

    -vJ

    "Tim Bücker" <timtos.NOSPAM@ web.de> wrote in message
    news:bqnvhr$149 b$1@news.uni-koblenz.de...[color=blue]
    > Hello.
    >
    > I´ve created a simple custom control and used to drag it on a form in the[/color]
    visual studio designer where it then gets displayed as it[color=blue]
    > is usual for all controls. But now I can drag it on a form as often as I[/color]
    want and nothing is shown and also the source code is not[color=blue]
    > updated!
    >
    > Adding the custom control manually to the form via code it is again[/color]
    displayed![color=blue]
    >
    > What can be a reason why a custom control can not be used in the designer?
    > Thanks a lot for any ideas!
    >
    > Greetings,
    > Tim.
    >
    >[/color]


    Comment

    Working...