I have made my own Textbox class (with the standart .NET textbox inherited).
I added some properties etc..
Now I can select my textbox in the Controllist and put them on forms and also set the properties I created, which works fine.
But some of the properties change other properties.
For example:
If I set the TextInfo property (Is displayed when there is no text and disappears when the TextBox is focused), the property also sets the Text property in designer mode.
The program hasn't even run once.
Now if I run the program it is like I would have set the Text & TextInfo property to the same value, although I only want to set the TextInfo property at startup.
Is there any way to tell the designer to stop programatically changing other properties at designtime?
I added some properties etc..
Now I can select my textbox in the Controllist and put them on forms and also set the properties I created, which works fine.
But some of the properties change other properties.
For example:
If I set the TextInfo property (Is displayed when there is no text and disappears when the TextBox is focused), the property also sets the Text property in designer mode.
The program hasn't even run once.
Now if I run the program it is like I would have set the Text & TextInfo property to the same value, although I only want to set the TextInfo property at startup.
Is there any way to tell the designer to stop programatically changing other properties at designtime?