Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newobject not visible
Message
 
 
To
17/11/2008 17:43:20
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01362403
Message ID:
01362418
Views:
11
>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.  &&&<<------ this should make it visible, or not???
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform