hello, I have a window that has 3 pages with many objects (smartobject). My question is, is there a way through code to know according to the page what objects I have in it.
DEF VAR AS HANDLE NO-UNDO.
ASSIGN hCol = FRAME {&FRAME-NAME}:HANDLE NO-ERROR.
ASSIGN hCol = hCol:FIRST-CHILD NO-ERROR.
ASSIGN hCol = hCol:FIRST-CHILD NO-ERROR.
DO WHILE VALID-HANDLE(hCol):
MESSAGE hCol:INSTANTIATING-PROCEDURE:FILE-NAME
VIEW-AS ALERT-BOX INFO BUTTONS OK.
ASSIGN hCol = hCol:NEXT-SIBLING NO-ERROR.
END.
I was looking but I did not find any method or property to know the object to which page it belongs
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.