home *** CD-ROM | disk | FTP | other *** search
- /* ListCurrentPage - List the objects on this page by number and name
- */
-
- cr = '0a'X
-
- ob = objectnumber(':',1)
- pg = currentpage()
- tx = ''
-
- if ob = '' then
- call inform('No objects on this page')
-
- else do
-
- call beginprompt('Working')
-
- do while getpage(ob) == pg
-
- tx = tx left(ob, 12)
-
- if getvisibility(ob) then
- tx = tx 'V '
- else
- tx = tx 'I '
-
- tx = tx right(getleft(ob),3) right(gettop(ob),3)
- tx = tx right(getwidth(ob),3) right(getheight(ob),3) ' ' getname(ob) cr
-
- ob = getnext(ob)
-
- if length(ob) == 0 then
- leave /* This happens if on last page */
-
- end
-
- call endprompt()
- say 'Listing for page' sequencenumber(pg) cr cr || left(tx,length(tx)-1)
-
- end
-