Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controling List Box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00001934
Message ID:
00001996
Vues:
28
>>If I understand the problem correctly, you need
>to
>>store the value of the cursor field to the memvar
>associated
>>with the list box. The fly in the oil here is the
>>possibility of more than one record (in the
>cursor) having the >same value.
>
>The simple problem is that the list box displayed
>on the screen returns to the top of the list after
>executing a SHOW GETS. If I test to see where the
>record pointers are they are still set on the
>record that I was looking at before the SHOW GETS.
>Even the variable that is associated with the list
>box has that value in it. But the physical
>display of the list has returned to the top.
>
>I am trying to track down a reason for this
>happening and a possible solution.

Dale:

The position of the record pointer shouldn't affect
the list-box default. Simply stated, if the default
exists in the array for the list-box, the list box
should have the default highlighted. The default is
the value of the associated memvar.

Check that the length and case of the memvar matches
the array subscript exactly, EXACT off/on, etc. I've
had this mess me up.

Are you rebuilding the list-box array after the
cursor is altered?

Best,
Randy
Ten years software development
Specializing in FoxPro applications
Glendale, CA
See my web page for references: www.datadepot.com/~parsons
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform