>I have a program where the objects on a form don't link to the commands when you right-click on an object. So if I right-click on a command button and select "code", the code window opens, but it is not the code for the object I have selected, it is code for another object. Is this a feature I some how turned on/off by mistake?
It's a bug in VFP9SP2. Use double-click instead.
--sb--