>i want to add objects on the fly at runtime
>this code:
>
>THIS.PARENT.REMOVEOBJECT("cntTask")
>THISFORM.pgf1.page2.NEWOBJECT("cntTask","cntTasks_general","modules\vcmc.vcx",THISFORM.business.DATA.mainidValue)
>WITH THISFORM.pgf1.page2.cntTask
> .LEFT=0
> .TOP= 216
> .VISIBLE=.T.
>ENDWITH
>
>
>
>does not make it visible.
>
>What am i doing wrong?
>
>
>this is insted of many pageframe pages wwhich make it quite slow. So I thought I could plop in containers when needed
>
>
>Thanks
>
>Peter
Where did you place this code? If Page2 Activate method?
If it's not broken, fix it until it is.
My Blog