Contributed works of Grigory Filatov
In computing, a window ( aka form ) is an enclosed, rectangular area on a display screen. Most modern operating systems and applications have graphical user interfaces ( GUIs ) that let divide display into several windows. Within each window, may run a different program or display different data.
Windows are particularly valuable in multitasking environments , which allow to execute several programs at once. By dividing display into windows, may seen the output from all the programs at the same time. To enter input into a program, you simply click on the desired window to make it the foreground process.
GUI enable to set the dimensions and position of each window by moving the mouse and clicking appropriate buttons. Windows can be arranged so that they do not overlap (tiled windows) or so they do overlap (overlaid windows). Overlaid windows (also called cascading windows) resemble a stack of pieces of paper lying on top of one another; only the topmost window is displayed in full. You can move a window to the top of the stack by positioning the pointer in the portion of the window that is visible and clicking the mouse buttons. This is known as popping. You can expand a window to fill the entire screen by selecting the window’s zoom box.
In addition to moving windows, changing their size, popping and zooming them, you can also replace an entire window with an icon (this is sometimes called minimizing). An icon is a small picture that represents the program running in the window. By converting a window into an icon, you can free up space on the display screen without erasing the window entirely. It is always possible to reconvert the icon into a window whenever you want.
FILEREAD() Short: ------ FILEREAD() Lists a text file of unlimited size Returns: -------- nothing Syntax: ------- FILEREAD([nTop,nLeft,nBottom,nRight],[cFileName],[cTitle],; [lSearch],[lMark]) Description: ------------ Lists text file [cFileName] of unlimited size in a programmer definable window of dimensions [nTop..nRight] Allows up down right left scrolling. Use this for reports or output sent to a disk file. If [cFileName] is not passed, a box asks for the filespec and then allows a picklist of files of that spec. If [cFileName] is passed as a wildcard (i.e. "*.DOC"). a picklist of files of that spec is presented. If [nTop..nRight] are not passed, a default window of dimensions 2,2,22,78 is used. [cTitle] is an optional title. This overrides the default which is the file name. [lSearch] is a switch to allow text searches. Default is True [lMark] is a switch to allow block marking (with Copy to File or Print) Default is True. Examples: --------- REPORT FORM summary TO summary.txt FILEREAD(2,2,22,78,"SUMMARY.TXT","Summary File") Notes: ------- Fileread() will use SET DEFAULT if no path is specified. Source: ------- S_FILER.PRG