|
-
January 6th, 2000, 07:04 PM
#1
Usercontrol
When I create a Usercontrol I want to display only those properties which I create using propbag.Is it possible .If so how to do that.
How do I add Font property to my usercontrol using propbag.
-
January 6th, 2000, 09:11 PM
#2
Re: Usercontrol
You can't choose what properties you display, and even if you could, why would you? Don't enter any information into one, and then they won't do anything...
What type of usercontrol do you want to add the FONT property to? Anything that needs one has one...if you want to change the font of a text, just go to the properties window and click on font. Same is true for command buttons and labels...
-
January 7th, 2000, 01:41 PM
#3
Re: Usercontrol
You can add the font property to a user control by defining the Let parameter and the get return value as StdFont. See http://www.freevbcode.com/ShowCode.Asp?ID=636 for an example of a user control that does this.
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
|