Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container does not show on form
Message
From
25/02/2005 07:18:10
 
 
To
25/02/2005 06:59:30
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
00990466
Message ID:
00990471
Views:
22
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform