>>how can I subclass an item without the class editing screen coming up? I do the command:
>>
>>
>>CREATE CLASS new_checkbox OF new_base as my_checkbox FROM my_base nowait
>>
>>
>>Any ideas? I have used the "subclass_it.prg" program in downloads and it does the same thing. I'm using VFP8.
>
>If you want to put classes in a VCX, I don't know a way to prevent it, but you can set things up so that the Class Designer closes immediately.
>
>
>KEYBOARD "{CTRL+F4}Y"
>CREATE CLASS new_checkbox OF new_base as my_checkbox FROM my_base
>
>
>Note that I removed the NOWAIT. You need a wait state for the keyboard characters to take effect.
>
>Tamar
I figured out a way to do this without the Class Designer but don't know if there are any disadvantages to it. I created a classlib using "create classlib mynewlib". I then opened both the original class library and the new one as tables then added records to the new class library and put the same data in the fields as the Class Designer does when you subclass. It works so far and will open in the designer fine after I did everything. Does anyone know if I'll run into a problem somewhere by doing it this way?