----- Original Message ----- From: <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[email protected]> Sent: Tuesday, July 15, 2008 10:00 AM Subject: [RBASE-L] - Re: Multi-select List Box
> Larry!!!! As the Guinness guys say, Brilliant! Sometimes the obvious thing > is the hardest to see. Of course, the last item you clicked would be the > LAST one in the list, wouldn't it??? > > I will probably go ahead and implement this, but just for my education, how > would I do the following, List? > 1. Have multi-select always ON so they can select multiple rows > 2. Have a right-click eep on a row that would bring up a detail form for > that row There is a caveat.. It will work OK so long as you don't de-select an item, since the de-select will also put the deselected item in the value of vThisID (tested).. > BTW: on a right-click eep on a multi-select, can you just hover over the row > and right-click, or do you have to click first then right-click. > > Karen > > >> If you attach the variable vList TEXT to the Variable Lookup Listview and >> select a few records, the ID of the most recently selected record is the >> last >> item in vList. You can pull it off in your button EEP with >> >> SET VAR vThisID = (SSUB(.vList, ITEMCNT(.vList))) >> >> and then operate (eg edit with the detail form) on that last selected record >> only. >> >> It also works in the on-click eep for the list view, so you can >> automatically update the display based on the last selected record while >> maintaining all >> the selections. >> >> Is that what you're looking to do? >> -- >> Larry >> > >

