Occassionally I desire to REFRESH one object to avoid the overhead of refreshing the entire form. For example: suppose I have a grid and a command button in a panel container object. I can fire the grid refresh event from the command button with a specific reference to the grid object: e.g. THIS.PARENT.grdPayables.REFRESH. However, if I move the command button (off the panel container onto the form container) the explicit reference changes: e.g. THIS.<panelname>.grdPayables.REFRESH. If I move the control I may have to change to code. Is there a way to make this more generic? Perhaps using the object's name, e.g. THIS.MYREFRESH( "grdPayables"
to seek and fire only the specific object's event. Is there some way already built into FoxPro?