Karen, If you look at the From the Edge sample application, you will see that you can Multi-Select rows the traditional ways (Control-click), and you can multi-check with the little checkbox, but they are totally separate lists of rows. The variable that is assigned to the listview can be used to collect a comma-separated list of the key column values for the currently SELECTED rows. And the GETPROP componentID CHECKEDROWS 'variablename' can collect a comma-separated list of the key column values for the currently CHECKED rows.
One thing I want to do is let a user do something that says "check all the rows where column whatsit has the value "B". But I can't find the list of item indexes of the "B" rows to use something like PROP componentid 'ITEMS[n]->CHECKED' 'true' on each one. On Wed, Mar 25, 2015 at 2:00 PM, Karen Tellef <[email protected]> wrote: > Oh wait... never mind. I just realized that the listview is probably not > the form table, so that wouldn't work. > > Karen > > > > -----Original Message----- > From: Karen Tellef <[email protected]> > To: rbase-l <[email protected]> > Sent: Wed, Mar 25, 2015 12:59 pm > Subject: Re: Var Lookup Listview and watching Checkboxes > > Bill: If you set up a form variable to trap the PK of the row, does > clicking the row checkbox evaluate that form variable? > > Karen > > > -----Original Message----- > From: Bill Downall <[email protected]> > To: RBASE-L Mailing List <[email protected]> > Sent: Wed, Mar 25, 2015 12:53 pm > Subject: [RBASE-L] - Var Lookup Listview and watching Checkboxes > > I love my 9.5 Update 5 Checkboxes in listviews, but I'm stumped by one > process. I'm sure there's a way: > > 1) How can I tell which checkbox was just checked or unchecked? Or what > the key value is in a row that was just checked or unchecked? > > A person can check a checkbox without "selecting" a row. > So the ITEMINDEX property doesn't know what row got checked. The variable > assigned to the ListView doesn't know what row just got checked.. > > I can save the state of CHECKEDROWS and compare it to the new CHECKROWS > after the click, but that could be a lot of parsing. (They could be > "unchecking" the 17th checkbox in a previously-saved list of 30, e.g.) > > 2) Based on some user action, I would like to "check" certain rows for > them, and not others, but I haven't found a way yet to discover a key value > in a row so I can decide whether to check or uncheck, without doing a > "makeclick." > > Thanks. > > Bill > > > > >

