Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox unresponsive, then later it starts working
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Listbox unresponsive, then later it starts working
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01375836
Message ID:
01375836
Views:
72
I have a strange bug that I can't figure out.

In my form, I have a set of tabbed pages. On one of the pages I have several listboxes. Almost all of the listboxes trigger the InteractiveChange event when I select an item from their lists. But one listbox does not. I have set a breakpoint on the InteractiveChange method, and it doesn't get hit when I click on an item on the list. The listbox enable property is set to .T.

The odd thing: If I click on a tab of one other page in the set, and then return to the page that has the problem listbox, the listbox begins working, and will continue to work as long as that form is running.

Clicking on that other page alone is the only thing that I have found that causes the problem listbox to work. Clicking on no other tabs, or other controls makes the problem listbox begin working.

So, what is it about the other page that fixes the listbox? I don't know. I have tried putting RETURN statements in the Activate and Init methods of that page, but it still fixes the problem listbox.

I would appreciate any suggestions on how to debug this problem.

Thanks,
Jim
Next
Reply
Map
View

Click here to load this message in the networking platform