Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verify each object contained in form even with class obj
Message
From
14/12/2006 09:17:39
 
 
To
13/12/2006 13:49:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01177307
Message ID:
01177576
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
>thanks Tamar, but i need to access elements that are by example in second (2) page of pageframe contained on other pageframe.. do you know?

You have to drill down using a recursive method. I saw you message to Naomi, so I see that you actually want to do this at runtime. It's not hard. Add a method something like this:
PROCEDURE DrillDown
lparameters oObject

* First, do whatever it is to the object

* Now, drill down
IF PEMSTATUS(oObject, "Objects", 5)
  FOR EACH oMember IN oObject.Objects FOXOBJECT
     This.DrillDown(m.oMember)
  ENDFOR
ENDIF

RETURN
Call this method passing the form as the parameter when you want to do whatever it is.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform