Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Member Not Found
Message
From
16/12/1998 16:29:05
Bob Lucas
The WordWare Agency
Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00166781
Message ID:
00168276
Views:
24
>Sure that the control is on the page?. With page1 I often find that the control is not really there but it "looks" like being on page1. I usually check it with the object picker.
>
>>I had a really wierd problem yesterday. I had code in the activate of a page frame page, (page1) that was on another page of another page frame. On this page I had a control (lstexp). In the activate of the page I had this.lstexp.somemethod(). I said member not found. In debugging. So the activate of Page1 said this.lstexp.somemethod(). I got an error Member not found. Odd, because it was on that page. So I added ox = this and then ox.lstexp.somemethod(). Same problem. When I debugged ox, it referenced the pageframe, not the page. So, although this was on the activate of page1 of the pageframe. This referenced the pageframe. Messy.
>>
>>Has anyone else seen this behaviour?


It was there alright, because the code executed twice, once cleanly, the next time not so good! The first time, this referenced page1 (as it should) the second time - in the same method! - this referenced something (the pageframe) that was really not this!
Previous
Reply
Map
View

Click here to load this message in the networking platform