We have a vfp7 application that displays data using grids. As a grid is loading, a progress bar (which is essentially a form) is displayed, and all the progress bar functionality is wrapped up in a class. The grids tend to be on a pagegrame with active tabs, and the progress bar form will sit above that. The problem we have is that if the user clicks on one of the active tabs when the progress bar is displayed, it messes up the loading of the grid.
Is there any code that we can add to the progress bar class that will disable the mouse click events and all key press events for the time that the progress bar is active? We would need to disable all key presses apart from one key which would act as an escape key and stop the loading of the grid.
Any help is much appreciated.
Is there any code that we can add to the progress bar class that will disable the mouse click events and all key press events for the time that the progress bar is active? We would need to disable all key presses apart from one key which would act as an escape key and stop the loading of the grid.
Any help is much appreciated.