Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox--partially cannot select
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00121074
Message ID:
00121101
Views:
15
>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

Chaim,

I just created a form, put a listbox in it, used fields as the rowsourcetype and used a dbf as the rowsource. I was able to select the top row fine. What else is in your listbox code? Like the mousedown, click, mouseup, keypress, when, interaciveChange?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform