Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox - duplicate values
Message
From
06/03/2008 03:45:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ListBox - duplicate values
Miscellaneous
Thread ID:
01299234
Message ID:
01299234
Views:
61
Hi all,

I have form with listbox and grid. ListBox has 4 columns and array as rowsource populated
with some SELECT ... .Values in first column may be identical.

In click() there is LOCATE like:

LOCATE for F1 = this.displayvalue .and. F2 = left( this.ListItem(this.ListItemID,4) ,2)

This works and in grid are displayed proper records from child table.

Problem is that after click, listbox allways jumps to the first record when there are 2 or more records with same value in first column and different in fourth.
How to force listbox to stay on selected row ?

Regards, Gojko
Next
Reply
Map
View

Click here to load this message in the networking platform