Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox--partially cannot select
Message
De
24/07/1998 13:06:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
ListBox--partially cannot select
Divers
Thread ID:
00121074
Message ID:
00121074
Vues:
46
Hello All,
This occurs under VFP 5.0a and Win/NT 4.0 SP3.
I have a listbox on a form, the row source type is 6 (fields). The row source is a table. The listbox is long enough to show 3 rows. The table has many more than 3 rows.
The problem is: when I click on the topmost row in the listbox, it does not select. If I click on the 2nd or 3rd row, it does select. I put this code in the listbox When: "RETURN .T." but it did the same thing.
I then took a standard vanilla listbox from the VFP base class and put it on my form next to the lisbox that was subclassed from my own classes, but the standard listbox did the same thing so the problem is not in my listbox base class. Also, this new listbox was a little longer than the first one, and it permitted the bottom two rows to be selected, same as the first list box, so it looks like what's happening is that the bottom two visible rows are selectable.
Perhaps it is significant that although I specified the new listbox to be "IntegralHeight = .T.", it showed a partial row.
Previously, the row source type for the listbox was 5 (array). The array was a form property. Then it was much worse--no row in the listbox was selectable.
Any ideas on what could be causing this? It sure looks like a bug to me.
Thanks, Chaim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform