>Hi Peter.
>
>
I di what you said. But the combo box is invisible at runtime.>
>Huh? To the best of my recollection, there is no code anywhere in the class that makes it invisible. What do you mean by invisible? Can you see anything (like the textbox and the command button? Or are you saying that when you click on the command button the grid does not become visible?
OK back to basics.
LOCAL oForm as Form
SET CLASSLIB TO 'c:\vapps\vcpr3\modules\cbogrid.vcx' ADDITIVE
oform=CREATEOBJECT('Form')
oform.AddObject('acbogrid1','acbogrid')
oform.Show(1)
the form shows but the control is not visible :-)
what am I doing wrong???
I feel very dumb today
Peter
Peter Cortiel