Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox show Elements but not .F. when nothing to be shown
Message
De
04/06/2018 01:37:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
ListBox show Elements but not .F. when nothing to be shown
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01660530
Message ID:
01660530
Vues:
101
Hi,

I have a listbox, populated with an array: Thisform.aNames
The list is restricted to the first 10 elements only so NumberOfElements is set 10
The array is constructed in myForm with aNames[10,2]

and populated with a select:
Select naw.fullname, naw.ID from NAW where  substring(fullname,1) = ? m.lcLetter into array aNames[10.2]
this works fine, however, when there is not enough data to populate 10 fields the remaing are shown in the listbox as .F., how should I change to avoid this, prefer to show [ ] (nothing)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform