home *** CD-ROM | disk | FTP | other *** search
- /* $VER: SetRotationPoint.rexx 1.1 (09.10.96)
- Copyright 1995 SoftLogik Publishing Corporation
- May not be distributed without SoftLogik Publishing Corporation's express written permission */
-
- ADDRESS 'PAGESTREAM'
- options results
-
- getobject
- if rc=0 then do
- 'getcoord click message "Click to set the rotation point..."'
- editobject about click.x click.y
- end
- else do
- call doalert("Select only one object.")
-
- end
-
- EXIT
-
- DOALERT:
- parse arg astring
- /* Display an alert requester */
- allocarexxrequester '"Script Alert"' 334 55
- hAlertReq=result
- addarexxgadget hAlertReq TEXT 8 12 268 border none string '"'astring'"'
- addarexxgadget hAlertReq EXIT 252 38 70 label "Exit"
- doarexxrequester hAlertReq
- freearexxrequester hAlertReq
- RETURN
-