Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pages on pageframe - did I lost my mind?
Message
 
 
To
29/05/2002 15:26:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00662676
Message ID:
00662686
Views:
16
Hi Tracy,

Thanks for coming to my rescue. Here is the code in Page3.Activate:
this.fontbold = .t.
if thisform.nLastActivePage <> 3  
   this.click()
   thisform.nLastActivePage = 3
endif
All other pages have the same code in their click and activate (the page number changes respectively). I check the whole form code, but I think this DataEntry form will make me insane... It doesn't want to behave correctly, and every new test shows new problem..., so I'm fixing them and fixing them and ...

>Hi Nadya,
>
>I just put your code on a test form with a 4-page pageframe on it and it worked fine. When I click on page 3, the other pages are disabled AND I cannot click on them. I would look at code elsewhere like in the pageframe somewhere? Or other pages have code that overrides this?
>
>Tracy
>
>>Hi everybody,
>>
>>Here is code from Page3.click event. Similar code is on other pages on pageframe:
>>
>>
>>with this.parent
>>    store .f. to .Page2.fontbold, ;
>>	.Page1.fontbold, ;
>>	.Page4.fontbold, ;
>>	.Page2.enabled, ;
>>	.Page1.enabled, ;
>>	.Page4.enabled
>>endwith	
>>this.refresh()
>>
>>The pages look like disabled, however I still can click on other pages. Is it behavior by design or I do something wrong?
>>
>>Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform