Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
ListBox--partially cannot select
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement