I "borrowed" Razzak's Drag and Drop form, version 2, and it is slick. I
have added some bit buttons to do various report variations when the
user selects this and that. I would like to be able to stay in the list
of Customers (the DrivingTableListView) and allow the user to select all
of some customers by double clicking multiple times. The database has
been upgraded to v95(64), but not yet to RBGXE. The database uses double
quotes. The code for the double click is below. The code works fine and
highlights the next line: when the Driving Table refreshes, the customer
following the customer double clicked is selected, as it has moved up
one line when it is added to the temporary table tSelectedValues. My
problem is that the ITEMINDEX does not page down the lengthy list of
customers. It indeed highlights the customer on the second or third
page, but always returns to display the list from the top. Has anyone
any ideas as to how I can get the list view to page down to the
ITEMINDEX that is highlighted?
One of the customers has no less than 9 locations, each of which
(correctly) appears in the list view. It would be more convenient to use
if one could just double click 9 times without having to page down after
each selection to get to the new highlighted value.
-- On Double-Click Custom EEP
SET VAR vIndextxt TEXT = NULL
GETPROPERTY DrivingTableListView ITEMINDEX "vIndexTxt"
APPEND Customers TO tSelectedValues WHERE CustID = (.vCustID)
PROPERTY DrivingTableListView ITEMINDEX .vIndexTxt
PROPERTY DrivingTableListView REFRESHLIST "TRUE"
PROPERTY SelectedValuesListView REFRESHLIST "TRUE"
RETURN
All ideas will be seriously considered!
Albert the confused.