Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activating a page
Message
From
18/02/2016 02:39:14
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01631622
Message ID:
01631646
Views:
72
Hi Naomi

I wish I could get your question ...


>Hi everybody,
>
>I forgot how to activate a page programmaticaly. I added a new page to the pageframe of 5 pages. I set that page Enabled = false and PageOrder = 2 in design time. The caption of that page is rather long and doesn't fit, so just in case I added the tooltiptext with the same info as a caption.
>
>I added the following code to the drop down InteractiveChange event on the first 'General' page:
>
>
>this.Parent.spnQuantity.visible = (this.Value = 0)
>this.Parent.Parent.pgfFixedQtyPerMembership.Enabled = this.Value = 8
>IF this.Value = 8
>   this.Parent.Parent.ActivePage = this.Parent.Parent.pgfFixedQtyPerMembership.PageOrder
>endif
>
>So, when I select a particular value in drop down I want to activate that page and make it enabled.
>
>I found offending code in first page activate that caused that behavior.
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform