1. RE: ListView question?
- Posted by Jonas Temple <jktemple at yhti.net> Feb 08, 2003
- 430 views
Dan, I don't think you can do this with a list view (with the exception of having a check box in the first column). I would suggest taking a look at the latest release of Phil Russel's grid control, where you can define a column as a checkbox column. Jonas Dan Moyer wrote: > I suspect ListView can't do this, but I thought I'd ask: > > I'd like to be able to let a user add items to a list of items, and have > associated with each item a couple of check boxes, with each column of > check > boxes having a label describing what action on the main item checking > the > box could cause. > > Don't know if this will come through email clearly, but like this: > > ITEMS | ACTION1 | ACTION2 | > ------------------------------------------------ | > an item | x | | > 2nd item | x | x | > 3rd item | | x | > ------------------------------------------------ | > Then when the user clicks on some other button, the list will be > perused, > and actions will be taken on each item depending on what was checked. > > Can anyone suggest a way I could do something like this? > > > Dan Moyer > >
2. RE: ListView question?
- Posted by Al Getz <Xaxo at aol.com> Feb 09, 2003
- 416 views
Hello there Dan, Another idea would be to create several rows of check boxes and several rows of text. Have a single vert scroll bar control all the rows of text such that they scroll one full row at a time. You dont really have to scroll the check boxes. As each line changes, the associated check boxes apply to the different rows that scroll into view, so you have to keep track of the top row. Shouldnt be too hard really, and depending on how you draw the check boxes it might appear to be one complete page rather then several columns. Now that i think about it, maybe you could change the text associated with each check box and have the 'static' text change with the scroll action. In this way you would be using only check box controls and a scroll bar control. You'd still have to keep track of the top row, but i bet it would be fairly easy to do. Take care, Al
3. RE: ListView question?
- Posted by Al Getz <Xaxo at aol.com> Feb 09, 2003
- 440 views
Hello again Dan, Ok sure, it does sound interesting! When you say "pretty" i assume you are talking about some graphical aspect of the screen. Do you think you could describe this to some degree to give us an idea what it looks like without having to actually try it out ourselves? Take care, Al