Larry,

I get around this by using temp tables for the data then deleting from one and 
inserting into the other.
I can move items back and forth at will and it seem super-quick to me.

If you're only showing one listview it should be even quicker.

Regards,
Alastair.

  ----- Original Message ----- 
  From: Lawrence Lustig 
  To: RBASE-L Mailing List 
  Sent: Thursday, May 29, 2008 6:14 PM
  Subject: [RBASE-L] - Directly remove item from variable lookup listview.


  Is there any way to remove the selected item from a variable list view 
without changing the underlying data and doing PROPERTY lvListView REFRESHLIST 
'TRUE'.

  The situation is that I have a form (many, many forms, actually) in which a 
user finds a bunch of records, selects one record, clicks on a button to 
"process" it, and then sees the list view updated to reflect the fact that the 
record no longer qualifies for inclusion.  To do this I have to pay the price 
of a second search and load of the list view (which can be time consuming if 
there are a lot of items) and I have to write a bunch of code to preserve the 
TOPITEM and so on.

  If I could just tell the control "remove the currently selected item" or, 
even better, "remove the item at index X" I could accomplish this with a single 
PROPERTY command and provide the user with much better performance -- no 
additional search or load.
  --
  Larry




------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG. 
  Version: 7.5.524 / Virus Database: 269.24.2/1471 - Release Date: 28/05/2008 
17:33

Reply via email to