KarenLloyd
Programmer
Hi Folks
I have a strange problem in VFP6 (it's me - not a bug) - I wonder if anyone can shed some light please.
I have a selection screen which is a form (this is all manually programmed) with various text boxes and drop-down lists. This has been operating perfectly well for a few years. From the selection criteria I move to another program which displays a grid with updating and reporting options.
When finished, the prog loops round and runs the selection screen again. The variables are initialised beforehand or are public and the selection program hasn't changed. What has changed is the update routine, which used to be a browse window and is now a grid routine.
On returning to the selection screen, the drop-downs show the correct info, they have getfocus rebuilding code in them, but when I move to another control, the value I just selected from the combo is cleared and lost - the variable length goes to 0 "".
When selecting the combo box, the scrollbar very (very) quickly flashes from the right to the left hand side of the dropdown as tho it has cleared somehow. But the list values stay correct.
The grid has been released and the files re-opened and the combo lists rebuilt. What else could I need to clear after leaving the grid in order to get my form to behave as before?
I hope thats a good enough explanation of the problem. Any thoughts on this would be appreciated.
Karen
I have a strange problem in VFP6 (it's me - not a bug) - I wonder if anyone can shed some light please.
I have a selection screen which is a form (this is all manually programmed) with various text boxes and drop-down lists. This has been operating perfectly well for a few years. From the selection criteria I move to another program which displays a grid with updating and reporting options.
When finished, the prog loops round and runs the selection screen again. The variables are initialised beforehand or are public and the selection program hasn't changed. What has changed is the update routine, which used to be a browse window and is now a grid routine.
On returning to the selection screen, the drop-downs show the correct info, they have getfocus rebuilding code in them, but when I move to another control, the value I just selected from the combo is cleared and lost - the variable length goes to 0 "".
When selecting the combo box, the scrollbar very (very) quickly flashes from the right to the left hand side of the dropdown as tho it has cleared somehow. But the list values stay correct.
The grid has been released and the files re-opened and the combo lists rebuilt. What else could I need to clear after leaving the grid in order to get my form to behave as before?
I hope thats a good enough explanation of the problem. Any thoughts on this would be appreciated.
Karen