Synching ListBox with Properties

Pizzor2000
10-19-2009, 09:00 AM
I have a class in a VB6 application that contains quite a few Boolean properties (for example, let's use WillUseWidgets, WillUseGizmos, WillUseDingbats, etc.).

What I need is an interface to allow the user to switch the value of each of these properties on an instance of the class. I am thinking about using a ListBox with the Checkbox style, and adding a list item for each of the Boolean properties. The user could then check/uncheck an item to change the corresponding property.

I want to know the best way to cross-reference an array of list items with properties of an object. Any thoughts?

vb5prgrmr
10-19-2009, 09:58 PM
An Array... i.e. index 0 = widgets, 1 = gizmos, etc



Good Luck

Pizzor2000
10-20-2009, 07:36 AM
Yeah. I was thinking about doing something like that.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum