|
-
Jun 18th, 2003, 01:34 PM
#1
Thread Starter
Frenzied Member
User control Guidelines- Suggestion Needed
I wish to write a user control- have never written one before, I know the basics and all but just needed a suggestion...I'm going to make a label control....and here's my question
How do I make the label editable at run-time so that user can edit the data that is being displayed in the label.
Thanks
-
Jun 18th, 2003, 01:49 PM
#2
well how are you making the control?? are you going to use a standard label in your user control?? or are you going to make the user controls form surface the label?
-
Jun 18th, 2003, 01:54 PM
#3
Thread Starter
Frenzied Member
-
Jun 18th, 2003, 02:18 PM
#4
well you basically have to manually expose all its properties...
for example.. you would make a property in your user control called caption.. and when that property is set it should set the actual labels caption... thats how user controls work that have controls in them.. you need to expose the properties and methods of the controls
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|