>Is there a way to get a controls hierarchy at design time? I see the SYS(1272) but it's only good at runtime. I can select a group of controls and get there names with ASELOBJ but I'm not sure how to get the hierarchy ie. form name, pageframe..... TIA
From parent to childs you can do something like this !
For m.i = 1 TO thisform.ControlCount
oControl = thisform.Controls[m.i]
If oControl.Baseclass$"Pageframe Container "
For m.j = 1 TO oControl.controlCount
oCHILDControl = oControl.controls[m.j]
wait window "Here is the name of the control:"+oCHILDControl.name nowait
endfor
endif
endfor
Ps: Say hello to people of BR (I used to live there for more than one year ! Great city, nice people !)
CLAUDIO
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20