Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deactivate of the page fires when you click on the same
Message
From
30/06/2005 11:12:21
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01025827
Message ID:
01027703
Views:
31
>>A word I pronounce: BUG.
>
>In order to overcome this problem we have to move code into Page's Activate. But this presents other problems. One of them: how to find the name of the page based on its PageOrder?
>
>Thanks.

Add this method to the pageframe,
it is a horrible solution,
but without structuring the object it is better difficult to do of
MemberOrderToObject(iOrder)
IF this.Objects[m.iOrder].PageOrder=m.iOrder && MORE FREQUENTLY CASE
    RETURN this.Objects[m.iOrder]
ENDIF
Private iIndex
FOR iIndex=1 TO this.Objects
   IF this.Objects[m.iIndex].PageOrder=m.iOrder
      RETURN this.Objects[m.iOrder]
   ENDIF
NEXT
A best solution is to add the MemberIndex property to all VFP classes
and to write the whole code to manage it in
- Member.Init
- RemoveObject
- AddObject
-.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform