Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newobject not visible
Message
 
 
À
17/11/2008 19:01:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01362403
Message ID:
01362424
Vues:
7
Put it in the Page Activate and see if this would help.

>in the click method of a button
>
>
>
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform