Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container does not show on form
Message
De
25/02/2005 07:18:10
 
 
À
25/02/2005 06:59:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Divers
Thread ID:
00990466
Message ID:
00990471
Vues:
24
Hi Marcia,

Some required reading seems to haveslipped by me - what's with the square brackets? This is totally unfamiliar stuff to me - but it works.

Thank you for helping out.

Regards

Peter


>The container FleetExtras_DK initializes just fine, so why can't I see it on the form?
>
>I really don't know, but I do not understand why you are instantiateing your container on the page like you are. The page "owns" the container on it, so why don't you instantiate it using composition like this:
>
>
>WITH ThisForm.Pages1._Page2
>  .NewObject( [oFleetExtras], cFleetExtras, [UserForms.vcx] )
>  .Top  = 202
>  .Left = 6
>  .Visible = .T.
>ENDWITH
>
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform