A1VBCode Forums

User Defined Control - Properties dialogs, lists, etc. (VB6)


http://a1vbcode.com/vbforums/Topic18645.aspx

By GGoldenborne - 5/11/2006

I am creating a user defined control containing a text box and a label.  The text box has special functionality, which does not relate to my question.  (Thankfully, that part works.)  I want to include most of the properties from the label and text box as properties of the control.

I would like to know how to have the Properties panel provide drop down lists for some properties (such as "Alignment", for instance), dialog windows for other properties (such as "Font"), and special interfaces (such as the drop-down tab list functionality of "BackColor") which exist in the Properties panel for a regular text box control.  So far my control requires a user to remember values and enter them manually, which is not very user friendly.

I'm new to this forum today.  I appreciate suggestions.  Thanks.

(I will post some other questions separately about this.)

By Keithuk - 7/7/2009

Well if your only posting spam charmeddvd123 don't bother. 

Please delete his topics. Wink