January 6th, 2000, 06:04 PM
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, 08:11 PM
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...
czimmerman
January 7th, 2000, 12:41 PM
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.