Rename Selection

Compatibility: 4.2.3? - 5.0.2b20? - 5.1.2+ - 6.0 - MacOS - Windows

A simple script to rename the selected ODB item. It's pretty much self-explanatory:

on RenameSelection()
   local
      cursor = table.getCursor()
      name = nameOf( cursor^ )
   if ! dialog.ask( "New name for entry?", @name )
      return
   table.rename( cursor, name )
RenameSelection()


This page is a Fat Page. It includes the above script(s), encoded by and for Frontier. To retrieve the script(s), save the page as source text and open it using the File->Open command.

Copyright © 1998, 1999 by Samuel Reynolds. All rights reserved. Last modified 1999/05/19.
Built with Frontier v.6.0 on Macintosh OS 8.1 on 1999/05/23.