That is what I use: page.enabled = .F.
This will not let the user select the tab, it 'greys' it out so it is obvious that tab is not a valid selection. You don't lose any pages and/or code so you could even enable the page if they purchase that module.
----- Original Message ----- From: "John Weller" <john (at) johnweller D.OT co.uk> To: <profox@leafe.com> Sent: Monday, March 31, 2008 10:49 AM Subject: RE: How do I hide one page on a pageframe?
Perhaps you could disable the pages relevant to the modules that have not been purchased? Reducing the page count will always drop off the last page or pages.
John Weller 01380 723235 07976 393631
> -----Original Message----- > From: profoxtech-bounces (at) leafe D.OT com > [mailto:profoxtech-bounces@leafe.com]On Behalf Of Vince Teachout > Sent: 31 March 2008 18:41 > To: profoxtech (at) leafe D.OT com > Subject: Re: How do I hide one page on a pageframe? > > > John Weller wrote: > > I assume you are using a pageframe without tabs as a wizard > with Next/Back > > buttons. If so the Next button will increment the ActivePage > by 1. If they > > have not bought a particular module then increase the > ActivePage by 2. A > > garbled explanation but if you need more detail let me know. > > > > HTH > No, it's a tabbed form, with 1 page for setups for each module. Thanks, > though. >
[excessive quoting removed by server]
©2008 kam |