SET CLASSLIB TO myrqcossl ADDITIVE
thisFORM.addObject( 'www1 ', 'myrq ')
thisFORM.www1.visible=.t.
thisFORM.www1.top=20
以上语句可以运行。
但向表单中的容器添加控件时报错:
SET CLASSLIB TO myrqcossl ADDITIVE
thisFORM.container1.addObject( 'www1 ', 'myrq ')
thisFORM.www1.visible=.t.
thisFORM.www1.top=20
该怎么写?
------解决方案--------------------------------------------------------
SET CLASSLIB TO myrqcossl ADDITIVE
thisFORM.container1.addObject( 'www1 ', 'LABEL ')
thisFORM.container1.www1.visible=.t.
thisFORM.container1.www1.top=20