This one hurts.
Have a Top-Level Form that contains an 'In top level' form (child?).
The contained form has an MS OCX Toolbar with an undo button, an Undo Command button and a grid.
A rebuild and refresh of the grid's record source via the command button works as expected. The grid is refreshed. However, the ocxUndo button will refresh the non-grid controls, and simply blanks the grid (but leaves the inflated slider hinting the data is there but it (the grid) is blank. HOWEVER, If I click (or set focus) to the container (top-level form) and then reclick the form with the grid, the grid refreshes.
In review - the command button works. The ocxButton works if stepped through the debugger but (other) leaves grid blank. The ocxButton calls the cmdButton CLick method. Shifting focus off - then back refreshes the grid after and ocxUndo click. Works good with cmdUndo.
Am I missing something? Is this an AutoYield deal ( Is the syntax _VFP.Autoyield=.F. ?), a doverb thing or doevents - or is it time to loose the ocxButtons or is it time to install SP 4 on this system?
Thanks,
Terry
Imagination is more important than knowledge