home *** CD-ROM | disk | FTP | other *** search
- /*
- @N
-
- This Genie will move an object or a selection of objects to a particular
- layer on the current page
- */
-
- call pdm_AutoUpdate(0)
- numsel = pdm_NumSelObjs()
- if numsel = 0 then exit_msg("Please select a group of objects first")
-
- cpage = pdm_CurrentPage()
- if cpage = 0 then exit_msg("This Genie only works with objects on a page")
-
- pobj = pdm_ClickOnObj("Click on object to put selected objects behind...")
- if pobj = 0 then exit_msg()
-
- call pdm_ObjBehind(, pobj)
-
- exit_msg()
-
- exit_msg: procedure
- do
- parse arg message
-
- if message ~= '' then call pdm_Inform(1, message,)
- call pdm_AutoUpdate(1)
- exit
- end
-