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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vb6 Studio Properties ListBox 1

Status
Not open for further replies.

RichCraig

Programmer
Feb 13, 2003
54
GB
Hi

It would be very handy if I could recreate the Properties list box you find in Visual Studio, ie Clearly a listbox of sorts but you are able to enter new values, select from drop down menus, select colours etc.

I've searched for examples or where to start with combining multiple types with no luck.

Can anyone start me off, or know of any good links?
Thanks
 
Well, you don't explain at all the context in which you want to recreate the list box. Like, do you want to run an exe, and up comes the property box? Or, do you want to open, say, Oracle Forms, and have the Visual Studio property interface come up?

I can't help you on either of those. However, if you'd like to be able to allow a developer to set properties on your own ActiveX controls in this way, you can. Read up on PropertyPages.

HTH

Bob
 
hi BobRodes
thanks for your post.
Im writing a vb6 application with alot of variables that the user needs to change. I would like to create a form with a listbox just like the properties listbox found in visual studio that lists all number of settings on one side, that the user can edit on the other (column 2). Column 2 any be may variable types from a standard text box to drop down combo list.

image
 
Try using a flexgrid. MS showed a neat trick to make it appear editable. There is a copy of the MS article at faq222-3262

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Hi johnwm
Thanks for your post, thats exactly what I need!!
 
You're welcome! Those FAQs do come in handy!

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top