Thanks Michelle. That's actually how I ended up doing it because I needed to retain the Event/Method code I had in various areas of the grid. In your example, don't forget to REPLACE Classloc WITH >>Is there a way to make mygrid class contain mytextbox class when creating a grid instead of the VFP textbox class? > >I was just doing this, and remembered this thread. I don't know what the others told you, and I don't have time to read the whole thread right now, but here's what I just did: > >USE forms\verify.scx >REPLACE ALL class WITH "dvlTextBox" FOR class = "textbox" >USE > >It's not automatic, but it's an easy way of doing it. > >-Michelle
Colin Magee Team Leader, Systems Development Metroland Media Group Ltd. Mississauga, Ontario, Canada