EDIT_FILE_SAVE, EDIT_FILE_SAVE_AS

In this section:

  • INC
  • INTERNET_HYPERLINK
  • MINIMISE, MAXIMISE & RESTORE
  • PRINT_ABORT
  • PRINTER_OPEN
  • PRINTER_OPEN1
  • PRINTER_SELECT
  • PRINTER_SETUP
  • SELECT_ALL
  • SET
  • SETF
  • SOUND
  • STOP
  • SUPER_MAXIMISE
  • TEXT
  • TEXT_HISTORY
  • TILE_HORIZONTALLY
  • TILE_VERTICALLY
  • TOGGLE
  • +
  • A simple text editor
  • These call-back functions operate on a %eb (Edit Box) edit box in same same manner as EDIT_FILE_OPEN. If an edit box has not been filled using EDIT_FILE_OPEN, EDIT_FILE_SAVE operates like EDIT_FILE_SAVE_AS and displays the standard 'file save' dialog. Each call-back takes two character string arguments: one for the file pattern and the other for the resultant file name (see EDIT_FILE_OPEN above). The contents of the edit box are written to the file but the edit box is not closed.

    An example program appears in A simple text editor.

     

     

    Basket
    Empty
     
    Copyright © 1999-2020 Silverfrost Limited