Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how make Property to appear in Properties windows

Status
Not open for further replies.

meravsha

Programmer
Jul 27, 2001
21
0
0
IL
I write a user control in VB6.
I need that some of properties (I created in the user control) will appear in Properties windows.


 
could you explain the problem a little clearer and in a bit more depth
 
For user control properties to appear in the design time window, you need to have "Property Let" and / or "Property Get" subroutines in your user control code for each of the properties. Which ones you have is determined by if the property in question is read only ( the Get sub ), write only ( the Put sub ), or allows both read and write.

If you want the control to save the properties, then you will also need a "PropertyBag" object.

Do a search on "Property Let", "Property Get", and "PropertyBag" to learn more.

Robert
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top