Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying Conditional Container
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00532576
Message ID:
00533067
Views:
18
No ahead of time I determine all needs and create a pageframe with a page for each possible condition, if I would do it on the fly the app size would be smaller but then it would take longer to load the pageframe

Where you gathered that I do it on the fly is beyond me

and whats your advantage to doing it on the fly?????


>Stephen,
>
>I'm not 100% sure, I understood. You create a page object on the fly, right?
>
>For instance, I have a form with two pages. I put nothing on the second page. In page Activate I have:
>
>********************************************************************
>*  Description.......: Page2.Activate
>*  Calling Samples...: 
>*  Parameter List....: 
>*  Created by........:  
>*  Modified by.......: Nadya Nosonovsky 07/19/2001 01:30:38 PM
>********************************************************************
>with this
>     if type("this.ContPageBrowse")"O"
>          .newobject("ContPageBrowse","PageBrowse","phones.vcx")
>          .ContPageBrowse.top=1
>          .ContPageBrowse.left=1
>          .ContPageBrowse.height=.parent.height-25
>          .ContPageBrowse.width=.parent.width-3
>          .ContPageBrowse.visible=.t.
>     endif
>     .refresh()
>     .ContPageBrowse.grdBldMstr.setfocus()
>endwith
>
>Is it essentially your suggestion or I misunderstood?
>
>
>
>>No prob
>>
>>I have a like issue on a form and I used a pageframe without tabs and it works very speedy and cleanly
>>
>>>Ok! I wasn't aware that you could have a pageframe without tabs. This will do exactly what I want as I originally had it on a pageframe, but the tabs weren't relevant, disabled or not, under certain conditions. Thanks!
>>>
>>>>add a pageframe to the form, set "tabs" property to .F., and in the refresh of the form evaluate the condition and show the desired page thisform.pageframe.activepage = nPageNumber
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform