Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Index in a List Box
Message
De
02/10/2004 17:15:11
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
02/10/2004 09:29:46
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00948036
Message ID:
00948253
Vues:
36
Hi Mike

If your list is in the same sequence as the records, try

THISFORM.LIST1.LISTINDEX = m.r1
THISFORM.LIST1.SETFOCUS()

>Mike
>
>I can't quite see what I do after the line. I have the code below in the Init of the form:
>
>LOCATE RECORD M.R1
>NINDEX = THISFORM.LIST1.LISTINDEX && I have tried leaving these
>THISFORM.LIST1.LISTINDEX = NINDEX && 2 lines out, still doesn't work
>THISFORM.LIST1.SETFOCUS()
>
>But it does not put the cursor on the record. In fact the cursor does not appear anywhere on the data file. Its like it hit a Not Found() condition.
>
>What am I doing wrong?
>
>Mike Smith
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform