>Doesn't the INKEY(2) swollow the KEYBOARD "{Ctrl+W}"?
>
>>>*******************************************
>>>WAIT WINDOW "Creating class cboRexClLookUp" NOWAIT
>>>loObject = SUBCLASS("RexLookUp","RexCL","cboRexCLLookUp","RexCl")
>>>
>>>WITH loObject
>>> .RowSource = "v_RexClLookUp.cName,iId"
>>>ENDWITH
>>>
>>>ACTIVATE WINDOW "Class Designer"
>>>KEYBOARD "{Ctrl+W}"
>>>
>>>
>>>set classlib to RexCl additive
>>
>>I haven't tried you code, but you might want to give VFP a second to close the file... try an INKEY(2) after the KEYBOARD.
We've used a macro with the following definition:
{PAUSE 2.00}{ALT+F}CY
Then just KEYBOARD the macro key.