home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- set left to the value of field "left"
- set top to the value of field "top"
- set right to the value of field "right"
- set bottom to the value of field "bottom"
- if length(field "membernorn") = 0 then
- ShowRetVals(EMPTY, "You must specify a member number or name")
- return
- else
- if voidp(value(field "membernorn")) then
- set membernorn to field "membernorn"
- else
- set membernorn to value(field "membernorn")
- end if
- end if
- if length(field "castnorn") = 0 then
- set retVal to ScreenToMember(left, top, right, bottom, membernorn)
- else
- if voidp(value(field "castnorn")) then
- set castnorn to field "castnorn"
- else
- set castnorn to value(field "castnorn")
- end if
- set retVal to ScreenToMember(left, top, right, bottom, membernorn, castnorn)
- end if
- ShowRetVals(retVal, GetMessage(retVal))
- updateStage()
- end
-