Hi FoxStudent,
FWIW, in the code editing window, right click the mouse and select object list from the subsequent pop-up menu. A list of all available controls will be presented in a listbox. Select the desired control and click Insert. VFP will automatically insert the necessary object reference in code.
HTH [sig]<p>Jon Hawkins<br><a href=mailto: jonscott8@yahoo.com> jonscott8@yahoo.com</a><br><a href= > </a><br>Carpe Diem! - Seize the Day![/sig]