Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Controls - Some Basics
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Custom Controls - Some Basics
Miscellaneous
Thread ID:
01284603
Message ID:
01284603
Views:
66
I am very confused, perhaps because I'm thinking in terms of VFP, and I could use some help please. I'm in c# and .NET.

1. I want to create mytextbox based on class Textbox. Am I making a a usercontrol or a customcontrol to do this? The answer may depend on #2 below.

2. When I drag/drop mytextbox onto my new Window Form, I want to be able to access mytextbox.Text and other properties of the base class - with usercontrol it seems the underlying textbox properties are not accessible in the Properties or in code.

Now I understand that with usercontrol I'm putting the base Textbox into a container, but how do I get into that container in code and in Visual Studio at design time (i.e. setting mytextbox.container.textbox.text?).

Thanks for helping the utterly confused. The c#/.NET documentation is terrible. Perhaps I should switch to Rbase5000! Again, thanks for your help.
Next
Reply
Map
View

Click here to load this message in the networking platform