Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Box Not Displaying Data
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
List Box Not Displaying Data
Miscellaneous
Thread ID:
00348889
Message ID:
00348889
Views:
62
I have a list box that is on a page frame (page number 4 to be exact). It is populated from veiw records that are scanned into the list .aitems array.

The user can choose to view expanded info of an item in the list, which will take them to page 5. The user then can press a button to take them back to the list to choose another item. The button method code just has set the activepage to 4 so the user will see the list again.
My problem is when the user's query results in a couple of thousand items to choose from the list will be blank when the user asks to come back from page 5 (it was not blank initially before asking for expanded info). If the user uses their mouse and clicks inside the list then it shows back up. This does not happend if the user finds a few hundred items to choose from (or smaller).

The other odd thing is that if you go back to the list and it is blank and immediately use the down arrow or up arrow, then the list is displayed as one line at the top of the form. You will actually see the items being scrolled through at the top of the form (not in the list) after so many items are scrolled the list appears magically and acts like you have been scrolling through it all the time, but the one line is still at the top of the form (outside of the pageframe by the way).

I think I have found a bug, but I dont know what to do to work around it.

Things I have tried
In the activate method of the page 4 I tried locking the screen and unlocking it, I have tried refreshing the page, I have tried refreshing the form, I have tried setting focus to the list box, I have tried KEYBOARD'{TAB}' (which displayed the list OK but caused the one line to appear at the top also).

Any suggestions would be appreciated or anyone else has seen this also or something like it please respond.

Thanks
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Next
Reply
Map
View

Click here to load this message in the networking platform