Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with combobox in grid and pageframe
Message
From
18/07/2006 09:09:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Problem with combobox in grid and pageframe
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Oracle
Miscellaneous
Thread ID:
01137212
Message ID:
01137212
Views:
75
In my application I have a pageframe with one or more tabs. Sitting on top of the pageframe (not in) is a grid which has a combobox in one of the columns. Clicking on a tab in the pageframe changes the filter on the data in the grid to a different warehouse. The combobox is used to change the vehicle for a route.

The problem I am having is if the user clicks on the combobox pulling down the list to choose from but instead of clicking on an item from the list the user clicks on a different tab in the pageframe. The result that happens is that the pageframe shows the other warehouse but the data displayed in the grid is a slightly messed up version of the data that was displayed in the warehouse the user was just on. I have code that requeries the cursor adapters for the new warehouse when the user clicks on pageframe tab.

Is there something to look at to solve this situation or is there a way to prevent the user from exiting the combobox in this fashion?
Next
Reply
Map
View

Click here to load this message in the networking platform