home *** CD-ROM | disk | FTP | other *** search
- /* SetObjSize - Set size of one object to match size of another. */
-
- row = getclickrow('Click on the object whose size you want to change')
- col = getcolumn()
- ob1 = getobjectat(col, row)
-
- if length(ob1) > 0 then do
-
- row = getclickrow('Click on the object whose size you want to match')
- col = getcolumn()
- ob2 = getobjectat(col, row)
-
- if length(ob2) > 0 then
- call scaletosize(ob1, getwidth(ob2), getheight(ob2))
-
- end
-