Classes and Members - Generated by GENDOC v1.1 on 10/9/00

note: some of these classes pertain to Windows-based programs and are not used in browser-based programs.


_client

_client: null;
Source: EPP.L


_client put_to (string a);

abort

abort: modeless_dialog;
Standard dialog box for aborting a print job
Source: ABORT.L

. The application displays this dialog at the beginning of a print
. job and periodically calls the "yield" function to give the user
. the opportunity to select the "Cancel" button. This will call the
. "abort" member function of the class which created the abort dialog.

public: static bool aborting;
Flag for application to monitor to tell when user requested abort

protected: any caller;
Object for the caller - used for calling the "abort" callback

public_read: string line1;
Line of text to display in dialog box

public_read: string line2;
Second line of text

void abort (); Constructor

void abort (window parent, any caller); Constructor to set parent window and object to receive "abort" call

string line1 (string line1); Set the first line of text

string line2 (string line2); Set the second line of text

void ok (); Callback for the "Cancel" button
. Not called directly by the application, this function is called
. automatically when the user selects the "Cancel" button.
. Note: This "ok" instead of "cancel" because the Cancel button is
. the default push button (which always calls "ok".)

bool show (); Reset the "aborting" flag and then show the Abort dialog box

about

about: dialog;
Standard About dialog box to display information about application
Source: ABOUT.L


public: string author;

public: string copyright;

public: string copyright2;

public: string date;

public: string name;

public: string title;

public: string version;

void about (); Constructor

icon icon1 (icon icon);

app_window

app_window: window;
The default application window
Source: WINDOW.L

. An application can redefine this class or use as-is.
. The primary intent of this class is for the ::window function
. to create a default application window. Also, the default
. ::main function calls ::window which instantiates this class.
. So, the effect is that you don't need a main function if you
. want to use either the default app_window or if you want to
. define your own app_window class.

void app_window ();

void app_window (string title);

app_window_stub

app_window_stub: null;
A "stub" window object used for the app_windows class.
Source: APPWIN.L

. This type of object represents a window for another applocation
. and does not support the full features of a Liana window.

public: long handle;
The Windows handle for the application window

void app_window_stub (); Constructor

void app_window_stub (long handle); Constructor that sets the Windows handle

void close (); Close the application window

void focus (); Set the input focus to the application window

void maximize (); maximize the application window

void minimize (); Minimize the application window

void restore (); Restore the application window to its previous position and size

void syscommand (int command); Internal function to send a WM_SYSCOMMAND message to a window

string text (); Returns the title text for the application window

app_windows

app_windows: array;
List of all application windows in system
Source: APPWIN.L

. Elements are objects of class "app_window_stub".

void app_windows ();

any put (long i, any v);

void regen ();

apply_button

apply_button: def_push_button;
Standard "Apply" push button control
Source: CONTROL.L


void apply_button (); Constructor

array

array: null;
Dynamic array
Source: ARRAY.L

. A dynamic array initially has no elements. It "grows" and shrinks
. automatically as elements are stored, appended, inserted, and
. deleted.
.
. Note that some member functions such as "put_to" and "find_text"
. are defined in the "null" class since any Liana class can have
. "array-like" behavior as long as that class defines "size" and
. "get" functions.
.
. The default allocation unit size is 13:
. For a 64-byte block there is an 8-byte header plus a 4-byte
. "next" pointer for a total overhead of 12 bytes which leaves
. 52 bytes which is 13 4-byte entries.

public: int block_size;
Allocation unit size
. Space is allocated as needed.
. An additional block of this size is allocated as elements are
. referenced beyond the end of the array.

protected: any current;
Pointer to current fixed_array block

protected: any first;
Pointer to first fixed_array block

protected: any last;
Pointer to last fixed_array block

public_read: int size;
Number of elements
. This is the index of the last element minus 1.
. Any insertions or deletions will automatically adjust this size.

array append_from (array a); Append contents of another array

void array (); Constructor

void array (any element1, array elements...); Constructor to initialize elements of an array

any browser_element_name (int i); Get name of ith element for debug browser
. This is the array index in square brackets.

any browser_element_value (int i); Get value of the ith element for the debug browser
. This is the value of the ith element of the array.

array copy_from (array a); Initialize with contents of another array

long find (any v, long i); Search for a value starting at the ith element
. See also: null::find (v)

any get (long i); Return the ith element

any insert (long i, any v); Insert a new element before the ith element
. Returns the new element value.

int num_browser_elements (); Returns the array size as the number of browser elements

any put (long i, any v); Replace the value of the ith element
. See also: null::put_to (v)

any remove (long i, long n); Delete "n" elements starting with the ith element
. Returns this object.

string text ();

auto_save_dialog

auto_save_dialog: dialog;
Dialog box for auto-save parameters in text editor
Source: LINEEDIT.L


public: bool auto_save_enabled;

public: int operation_count;

public: int time_interval;

void auto_save_dialog (); Constructor

auto_save_timer

auto_save_timer: timer;
Timer for auto-save in text editor
Source: LINEEDIT.L


void auto_save_timer ();

void went_off ();

bezier

bezier: figure;
Graphic object whose image is a bezier curve
Source: FIGURE.L


public: int cx1;

public: int cx2;

public: int cy1;

public: int cy2;

public: int x1;

public: int x2;

public: int y1;

public: int y2;

any bezier (int x1, int y1, int cx1, int cy1, int cx2, int cy2, int x2, int y2);

void bezier (int x1, int y1, int x2, int y2);

void compute_extrema ();

void draw (window w);

void draw_during_drag (window w);

point handle_pos (int i);

void move_by (int dx, int dy);

void read (file f);

void stretch_to (int x, int y);

string text ();

void write (file f);

bitmap

bitmap: window;
A rectangular matrix of color pixels.
Source: BITMAP.L


protected: int bits;

public_read: int bits_per_pixel;
The total number of bits per pixel.
. This is the internal number of pixels per plane times the number of planes

public_read: int bits_pixel;
The Windows internal bits per pixel

protected: bool changed;

public: string error;
Indicate type of error
. "file" means unable to load from or write to a file.
. "format" means there's something wrong with the bitmap data.
. "memory" means out of system memory

public_read: int hBitmap;
The internal Windows handle for the bitmap.

public_read: unsigned hPalette;

protected: unsigned hSharedPalette;

public_read: int num_colors;
The number of colors per pixel

public_read: int num_planes;
The Windows internal number of planes per pixel

protected: unsigned old_bitmap;

protected: unsigned old_palette;

public: bitmap shared_palette;

protected: int size;

public: bool was_compressed;

void bitmap ();

void bitmap (int width, int height);

void bitmap (string path);

rect bounds ();

void create_dc ();

void destroy ();

void draw (); Draw bitmap at upper left corner of current window.

void draw (window w); Draw bitmap at upper left corner of a window.

void draw (window w, long dest_x1, long dest_y1, long dest_x2, long dest_y2, long source_x1, long source_y1, long source_x2, long source_y2); Compress/Stretch/Mirror a portion of a bitmap

void draw (window w, long x, long y); Draw bitmap at a position in a window.

void draw (window w, long x, long y, long x1, long y1, long x2, long y2); Draw a clipped portion of bitmap

void free ();

void get_initial_font ();

int handle ();

bool load (string path);

bool load_from_memory (memory buf);

string put (int row, string row_text);

bitmap put_to (string row);

int size ();

bool store (string path); Output the bitmap to a file

bool store (string path, bool compress); Output the bitmap to a file with RLE compression

string text (); The text associated with a bitmap

bitmap_check_box

bitmap_check_box: custom_button;
Custom check box control which has a bitmap image
Source: CONTROL.L


public_read: bool checked;

protected: bitmap off_image;

protected: bitmap on_image;

void bitmap_check_box ();

void bitmap_check_box (string callback, bitmap off_image, bitmap on_image);

bool check ();

bool checked (bool checked);

void init_dialog ();

void paint ();

void selected ();

void store_value ();

bool toggle ();

bitmap_push_button

bitmap_push_button: custom_button;
Custom push button control whose image is a bitmap
Source: CONTROL.L


protected: bitmap off_image;

protected: bitmap on_image;

void bitmap_push_button ();

void bitmap_push_button (string callback, bitmap off_image, bitmap on_image);

void deselected ();

void paint ();

void selected ();

brush

brush: null;
Color or pattern for filling an area or window background
Source: WINDOW.L

. The pattern must be null ( for a hollow brush), an RGB value (for a
. solid brush), or a string of 1, 4, 16, or 64
. characters arranged in one, two, four, or eight rows of the same
. number of characters. Each character represents a color code for a
. pixel of the pattern:
.
. space = black
. w = white
. r = red
. g = green
. b = blue
. c = cyan
. m = magenta
. y = yellow
.
. Examples:
.
. // Hollow brush (for empty circles and rectangles.)
. br = new brush [null];
.
. // An easier way of getting the same thing.
. br = new brush;
.
. // Solid red brush:
. w.background = new brush ["r"];
.
. // Another way of getting a solid red brush:
. w.background = new brush [255*256*256];
.
. // Alternating red and green dots:
. w.background = new brush ["rg"+"gr"];
.
. // Alternating bigger red and green dots:
. w.background = new brush ["rrgg"+"rrgg"+"ggrr"+"ggrr"];
.
. // Set background of window to be red bricks with white mortar.
. br = new brush [
. "wwwwwwww"+
. "rrrrwwrr"+
. "rrrrwwrr"+
. "rrrrwwrr"+
. "wwwwwwww"+
. "wwrrrrrr"+
. "wwrrrrrr"+
. "wwrrrrrr"];
. w.background = br;

protected: int bitmap;

protected: int created_brush;

public_read: int handle;

public_read: string pattern;

void brush ();

void brush (any pattern);

void destroy ();

void draw (window w);

void free ();

long rgb ();

call

call: null;
Information about a function that has been called
Source: INTERP.L


public_read: int i;

any arg (int i);

any arg (int i, any v);

void call (int i);

string function ();

int line ();

any local (int i);

any local (int i, any v);

string local_class (int i);

string local_name (int i);

int num_locals ();

int num_parms ();

string parm_class (int i);

string parm_name (int i);

string path ();

string single_step_mode ();

string single_step_mode (string mode);

string text ();

any this_object ();

call_stack

call_stack: null;
List of current nested function calls
Source: INTERP.L


call get (int i);

int size ();

cancel_button

cancel_button: push_button;
Standard "Cancel" push button
Source: CONTROL.L


void cancel_button ();

void cancel_button (string text);

center_text

center_text: static_text;
Centered static text control
Source: CONTROL.L


void center_text ();

void center_text (int columns, string variable);

void center_text (string text);

check_box

check_box: push_button;
Check box control
Source: CONTROL.L


public_read: bool checked;

bool check ();

void check_box ();

void check_box (string text);

void check_box (string text, string variable);

bool checked (bool checked);

void handle_command (int code);

void init_dialog ();

void resize_from_text ();

void store_value ();

bool toggle ();

bool uncheck ();

child_window

child_window: window;
Standard "child" window
Source: CHILDWIN.L


void child_window ();

void create_window ();

choose_color

choose_color: null;
Standard "Choose Color" dialog box
Source: COLOR.L

. Uses the Windows Color common dialog box

protected: memory cc;

protected: memory lpCustColors;

public: window parent;

public: long rgb;

void choose_color ();

bool show ();

choose_file_open

choose_file_open: null;
Standard Open dialog box
Source: FILE.L


protected: unsigned long def_ext_buf;

public: string dir;

protected: unsigned long dir_buf;

public_read: int error_code;
Windows error code (see CDERR.H in the Windows SDK)

public: string file_name;

protected: unsigned long file_name_buf;

protected: unsigned long file_title_buf;

public_read: array file_types;
List of file types

public_read: array file_types_text;
List of names for each file type

protected: unsigned long filter_buf;

protected: unsigned long ofn;

public: window parent;

public_read: string path;

void choose_file_open ();

bool do_show ();

int flags ();

bool handle_error (); Handler for errors when displaying the dialog box

string path (string path);

bool show ();

choose_file_save_as

choose_file_save_as: choose_file_open;
Standard Save As dialog box
Source: FILE.L


void choose_file_save_as ();

bool do_show ();

int flags ();

choose_font

choose_font: null;
Standard "Choose Font" dialog box
Source: FONT.L

. Uses the Windows Font common dialog box

protected: memory cf;

public: font font;

protected: memory logfont_buf;

public: window parent;

protected: memory style_buf;

void choose_font ();

bool do_show ();

unsigned long flags ();

bool show ();

circle

circle: figure;
Graphic object whose image is a circle
Source: FIGURE.L


public: int r;

public: int x;

public: int y;

void circle ();

void circle (any x1, any y1, any x2, any y2);

void compute_extrema ();

void draw (window w);

void draw_during_drag (window w);

point handle_pos (int i);

any move_by (int dx, int dy);

void read (file f);

void stretch_to (int x, int y);

string text ();

void write (file f);

clipboard

clipboard: null;
Access the system clipboard
Source: CLIPBOAR.L


protected: memory text;

void clipboard ();

string format ();

void link (string app, string topic, string item);

string link_app ();

string link_component (int i);

string link_item ();

string link_text ();

string link_topic ();

long size ();

string text ();

string text (string text);

close_button

close_button: cancel_button;
Standard "Close" push button
Source: CONTROL.L


void close_button ();

color_menu

color_menu: menu;
Standard "Color" menu for selecting named colors
Source: MENU.L


public: string color;

protected: int cur;

any black ();

any blue ();

void changed ();

void color_menu ();

void color_menu (string title);

any cyan ();

any dark_blue ();

any dark_cyan ();

any dark_gray ();

any dark_green ();

any dark_magenta ();

any dark_red ();

any dark_yellow ();

any gold ();

any gray ();

any green ();

any magenta ();

any none ();

any red ();

any set_color (int i, string c);

any white ();

any yellow ();

Column

Column: null;
Source: EPP.L


public_read: long h;

public_read: Table tab;

public_read: string Type;

public_read: int usable;

any AddRow ();

any Attributes ();

any Attributes (any newAttributes);

any Column (Table t, any x);

any Copy (Column c);

any Description ();

any Description (any newDescription);

any Erase ();

any Format ();

any Format (any newFormat);

any free ();

any Get ();

any GetAny ();

any GetInteger ();

any GetReal ();

any GetString ();

any HasAnyValues ();

any ID ();

any Index ();

bool IsUsable ();

any Name ();

any Name (any newname);

any put (any x);

any put_to (any x);

any PutInteger (any x);

any PutReal (any x);

any PutSTRING (any x);

any Reference ();

any Tab ();

any Unindex ();

combo_box

combo_box: control;
Standard combo-box control (edit field and list box)
Source: CONTROL.L


public_read: int columns;

public_read: any list;

public_read: int rows;

protected: int selected;

bool auto_h_scroll ();

bool auto_h_scroll (bool auto_h_scroll);

int columns (int columns);

void combo_box ();

void combo_box (any list);

void combo_box (any list, int rows, int columns);

void combo_box (any list, int rows, int columns, string variable);

string get (int i);

bool h_scroll ();

bool h_scroll (bool h_scroll);

void handle_command (int code);

void init_dialog ();

any list (any list);

void load ();

bool multiline ();

bool multiline (bool multiline);

int rows (int rows);

int selected ();

int selected (int selected);

void show ();

bool sorted ();

bool sorted (bool sorted);

void store_value ();

bool v_scroll ();

bool v_scroll (bool v_scroll);

cons

cons: null;
LISP-like wrapper for two objects
Source: LISP.L


public: any car;

public: any cdr;

void cons (any car, any cdr);

control

control: window;
Base class for all window controls (buttons, etc.)
Source: CONTROL.L


public_read: int dlg_code;

public_read: string mswin_class;

protected: long old_wnd_proc;

public: any value;

public: string variable;

rect bounds ();

int button_text_extent (string text);

void control ();

void create_window ();

void ctl_color (unsigned hDC);

void destroy ();

void finish ();

font font (font font);

long get_default_window_background ();

string get_dialog_value ();

any get_initial_value ();

long handle_message (unsigned hWnd, unsigned message, unsigned wParam, long lParam);

void hide ();

control init (string text, int id, int x, int y, int width, int height, int style, string variable, any value, any list);

void init_dialog ();

any list (any v);

int min_y_max ();

void show ();

void store_value ();

void store_value (any v);

void subclass_window ();

cross_file_find_dialog

cross_file_find_dialog: modeless_dialog;
Dialog box for Find File command
Source: CROSSFIL.L


public: bool auto_close_window_on_next;

public: bool auto_goto;

protected: control c_directory;

protected: control c_file_spec;

public_read: int cur_file;

public: string directory;

public: string file_spec;

protected: cross_file_finder fs;

protected: string last_file_found;

protected: window last_w;

public: bool match_case;

public: bool match_word;

public: string matching_file;

public: string matching_line;

public: string matching_line_number;

public_read: string pattern;

public_read: array patterns;

public: bool regular_expression;

void cross_file_find_dialog ();

void find_all ();

void find_first ();

void find_next_match ();

void goto_file ();

void next_file ();

bool ok ();

string pattern (string pattern);

void prev ();

void set_fs ();

void show ();

void show_fs ();

void show_status ();

void text_combo_field (string label, int rows, int columns, array items, string var);

void text_field (string label, int columns, string var);

cross_file_finder

cross_file_finder: null;
Cross-file text search engine
Source: CROSSFIL.L


protected: memory buf;

public_read: int col_no;

protected: int cur_file;

protected: int cur_line;

protected: string cur_path;

protected: int cur_pos;

protected: dir dir;

public_read: string file_pattern;

public_read: file_pos file_position;

public_read: array file_positions;

public_read: string line;

public_read: int line_no;

public_read: bool match_case;

public_read: int match_count;

public_read: int match_count_in_file;

public_read: int match_files;

public_read: bool match_word;

public_read: int num_selected_files;

public_read: string path;

public_read: string pattern;

public_read: bool regular_expression;

public_read: string status;

void abort ();

void cross_file_finder ();

string file_pattern (string file_pattern);

bool find_next_file ();

bool find_next_match ();

bool match_case (bool match_case);

bool match_word (bool match_word);

string pattern (string pattern);

bool regular_expression (bool regular_expression);

bool search ();

bool setup ();

bool try_file (string path);

cursor

cursor: null;
Bitmap image for the mouse pointer (cursor)
Source: CURSOR.L


protected: memory and_bits;

protected: int handle;

public_read: int height;

public_read: int size;

public_read: int width;

public_read: int x;

protected: memory xor_bits;

public_read: int y;

void cursor ();

void cursor (int x, int y);

void destroy ();

void destroy_handle ();

void draw (window w, long x, long y);

int handle ();

bool invalid_pixel_code (int row, string row_text, int i, string code); Error handler for invalid pixel code
. Displays an error message box. This function can be overridden
. to allow the application to handle the error.
. Returns false to abort processing of the row and other than false
. to ignore the code and treat as a black pixel.

string put (int row, string rowdata);

int x (int x);

int y (int y);

custom_button

custom_button: push_button;
Base class for defining user-defined button controls
Source: CONTROL.L


void custom_button ();

void deselected ();

void handle_drawitem (unsigned long dis);

long handle_message (unsigned hWnd, unsigned message, unsigned wParam, long lParam);

void paint ();

void paint (int x1, int y1, int x2, int y2);

void selected ();

string text (string text);

Database

Database: null;
Source: EPP.L


public_read: long h;

public_read: array t;

public_read: int tp;

public_read: bool usable;

long AddTable (any args...);

long Commit ();

long CountTables ();

table CurrentTable ();

any Database (any name);

long DeleteTable (any name);

void FirstTable ();

any free ();

any IsUsable ();

string Name ();

bool NextTable ();

string Release ();

long Rollback ();

any SetupTables ();

long TableExists (any x);

array TableNames ();

array TableNames (int x);

dbstub

dbstub: service;
Application DDE server for debugger
Source: DBSTUB.L


protected: bool resume;

void breakpoint (string path, int line_no);

void dbstub ();

void execute (string command, array args);

call find_call ();

any get (string item_name);

any put (string item_name, any value);

void single_step ();

string single_step_mode (string mode);

void state (string state);

void wait ();

def_push_button

def_push_button: push_button;
Base class for default push button controls
Source: CONTROL.L


void def_push_button ();

void def_push_button (string text);

void def_push_button (string text, string callback);

void def_push_button (string text, string callback, int columns);

dialog

dialog: window;
Base class for dialog boxes
Source: DIALOG.L


public_read: bool auto_position;
Whether to automatically calculate position of dialog box

public_read: bool auto_size;
Whether to automatically calculate dialog box size

protected: bool destroying;

protected: int return_value;

protected: int template1;

public_read: int x_base_unit;

public_read: static int x_base_units;

public_read: int y_base_unit;

public_read: static int y_base_units;

void accept_dialog (); Called when a push button is selected to "accept" the dialog

rect bounds (rect bounds); Returns the bounds of the dialog box

bool build_template (); Build the Windows template for the dialog box layout

void cancel (); Dummy callback for the "Cancel" button

void cancel_dialog (); Called when the user selects the "Cancel" button

void compute_dialog_units (); Internal function to compute dialog units

void create (); Internal function to create a new dialog box

void create_child_window (window child); Internal function to create Windows child window

any default_control_background (); Returns the default background color for controls

void destroy (); Destroy the dialog box

void dialog (); Constructor

void dialog (string text); Constructor with title for dialog box

void finish (); Called to terminate a dialog box

void free (); Destructor

void handle_command (unsigned wParam, unsigned long lParam); Dummy internal function to handle WM_COMMAND messages

long handle_message (unsigned hWnd, unsigned message, unsigned wParam, long lParam); Internal function to handle Windows messages

int height (); Return the height of the dialog box

int height (int height); Set the height of the dialog box

void init_dialog (); Initialize the values of all dialog box controls

bool modal (bool modal); Indicate whether dialog box should be modal or modeless

bool modal_frame (); Whether the dialog box should have a modal frame

bool modal_frame (bool modal_frame); Indicate whether the dialog box should have a modal frame

int next_x (int next_x); Set the horizontal position for next dialog control to be appended
. The position will be forced to align with dialog units.

int next_y (int next_y); Set the vertical position for next dialog control to be appended
. The position will be forced to align with dialog units.

bool ok (); Dummy callback for when the user selects the default push button

bool show (); Make the dialog box visible
. For a modal dialog box it returns true if dialog is "accepted",
. false if cancelled or if the system has a problem displaying
. the dialog box.
. For a modeless dialog box it returns true if the dialog box
. is successfully displayed.
. If the system does have a problem displaying the dialog an
. error message will be displayed.

int show_dialog (); Internal function to make the dialog box visible
. Returns 1 if function succeeds, 0 if user "cancels" the dialog
. box, or -1 if the system is unable to display the dialog box.

void store_values (); Internal function to store the values of all dialog controls

int width (); Return the width of the dialog box

int width (int width); Set the width of the dialog box

int x (); Return the horizontal position of the dialog box

int x (int x); Set the horizontal position of the dialog box

int x_spacing (int x_spacing); Set the horizontal spacing for controls
. Forced to align with dialog units.

int y (); Return the vertical position of the dialog box.

int y (int y); Set the vertical position of the dialog box

int y_spacing (int y_spacing); Set the vertical spacing for controls
. Forced to align with dialog units.

dir

dir: array;
Access list of files in a file-system directory
Source: DIR.L


protected: bool have_files;

public: bool include_dirs;
Set to "true" to include directory files, "false" (default) to exclude them

public: bool include_files;
Set to "true" (default) to include non-directory files, "false" to exclude them

public_read: string path;
The path for the directory

void dir ();

void dir (string path);

array files ();

string path (string path);

int size ();

string text ();

dir_dir

dir_dir: dir;
Access list of directories in a directory
Source: DIR.L


void dir_dir ();

void dir_dir (string path);

dir_list_box

dir_list_box: list_box;
List box control displaying file-system directories
Source: CONTROL.L


public: static_text dir;

public: file_list_box file_box;

void dir_list_box ();

void dir_list_box (int rows, int columns);

void dir_list_box (int rows, int columns, static_text dir, file_list_box file_box, string variable);

void handle_command (int code);

void init_dialog ();

void store_value ();

void store_value1 ();

void update ();

display_list

display_list: null;
Sequence of graphic objects (a "display list")
Source: DISPLAYL.L

. Typically, elements of this array-like class are of the "figure"
. class, but may be of the "pen", "brush", "font", or "null" classes
. or any other class. An element may represent an actual graphic
. image, or just have a side affect related to drawing the list.

protected: array a;

public: bool all_selected;

public: bool changed;

public: brush last_brush;

public: pen last_pen;

public: int select_count;
Number of elements selected

protected: array selected;

protected: window w;

array copy_selected ();

void deselect_all ();

void display_list ();

void display_list (window w); Constructor
. Associates the display list with a window

void draw (window w);

any first_selected ();

any get (int i);

any insert (int i, any v);

bool load (string path);

int pick (int x, int y);

int pick (int x1, int y1, int x2, int y2);

int pick (int x1, int y1, int x2, int y2, int start);

any put (int i, any v);

void remove (int i);

void remove (int i, int n);

void remove_all ();

void remove_selected ();

bool save (string path);

void select (int i);

void select_all ();

bool selected (int i);

int size ();

void trim ();

void trim (long n);

draw_menu

draw_menu: menu;
Standard Draw menu of graphic objects
Source: MENU.L


protected: int cur;

public_read: string type;

any bezier_curve ();

any circle ();

void draw_menu ();

void draw_menu (string text);

any ellipse ();

any freehand ();

any line ();

any pentagon ();

any polygon ();

any rectangle ();

void set_type (int i, string t);

any square ();

any star ();

void symbol ();

any triangle ();

drop_combo_box

drop_combo_box: combo_box;
Drop-down combo box control
Source: CONTROL.L


int columns (int columns);

void drop_combo_box ();

void drop_combo_box (any list);

void drop_combo_box (any list, int rows, int columns);

void drop_combo_box (any list, int rows, int columns, string variable);

int min_y_max ();

edit_int

edit_int: edit_text;
Integer data entry field
Source: CONTROL.L


protected: int max;

protected: int min;

void edit_int ();

void edit_int (int columns, string variable);

num get_dialog_value ();

num get_initial_value ();

bool validate_char (string ch);

edit_menu

edit_menu: menu;
Standard Edit menu
Source: FILEEDIT.L


void copy_to_clipboard ();

void cut_to_clipboard ();

void delete_selection ();

void edit_menu ();

void find ();

void goto1 ();

void paste_from_clipboard ();

void paste_link ();

void popup ();

void replace ();

void select_all ();

bool something_selected ();

bool something_to_redo ();

bool something_to_select ();

bool something_to_undo ();

void undo ();

edit_number

edit_number: edit_text;
Numeric data entry field (both integer and real)
Source: CONTROL.L


protected: int max;

protected: int min;

void edit_number ();

void edit_number (int columns, string variable);

num get_dialog_value ();

num get_initial_value ();

bool validate_char (string ch);

edit_text

edit_text: control;
Data entry field
Source: CONTROL.L


public_read: int columns;

public_read: int rows;

bool auto_h_scroll ();

bool auto_h_scroll (bool auto_h_scroll);

bool auto_v_scroll ();

bool auto_v_scroll (bool auto_v_scroll);

int columns (int columns);

int cur_line ();

bool down_key ();

void edit_text ();

void edit_text (int columns);

void edit_text (int columns, string variable);

bool enter_key ();

bool escape_key ();

void f1_key ();

string get (int i);

string get_selection ();

long handle_command (int code);

long handle_message (unsigned hWnd, unsigned message, unsigned wParam, long lParam);

bool hide_selection ();

bool hide_selection (bool hide_selection);

void highlight_line (int i);

void init_dialog ();

bool left_key ();

int line_count ();

bool lowercase ();

bool lowercase (bool lowercase);

bool modified ();

bool modified (bool modified);

bool multiline ();

bool multiline (bool multiline);

bool password ();

bool password (bool password);

int position ();

edit_text put_to (string s);

bool read_only ();

bool read_only (bool read_only);

void replace_selection (string text);

bool right_key ();

int rows (int rows);

bool search (string what, bool match_whole_word, bool match_case, bool search_forward);

bool search_next (string what, bool match_whole_word, bool match_case, bool search_forward);

bool search_silently (string what, bool match_whole_word, bool match_case, bool search_forward);

bool search_silently (string what, int start, bool match_whole_word, bool match_case, bool search_forward);

void select_all ();

void set_selection (int start);

void set_selection (int start, int end);

long size ();

bool something_selected ();

bool something_to_select ();

bool something_to_undo ();

void store_value ();

bool tab_key ();

void undo ();

bool up_key ();

void update_margins ();

bool uppercase ();

bool uppercase (bool uppercase);

bool validate_char (string ch);

bool want_enter ();

bool want_enter (bool want_enter);

int width (int width);

edit_window

edit_window: window;
Text editor window
Source: FILEEDIT.L


public_read: window ed;

protected: static printer printer;

long background (long background);

void create_status_line ();

void destroy ();

void edit_window ();

void edit_window (string title);

void edit_window_init_update ();

font font (font font);

void free ();

void got_focus ();

void highlight_line (int i);

int line_no ();

int line_no (int n);

bool line_numbers_enabled (bool b);

bool modified ();

bool modified (bool modified);

line_editor new_line_editor ();

string path ();

void print ();

void print_setup ();

any put (int i, any v);

edit_window put_to (any v);

bool read_only ();

bool read_only (bool v);

void resize_control ();

void resized (int width, int height);

string scroll_bars (string sb);

void set_initial_edit_style ();

bool status_line_enabled (bool status_line_enabled);

int tab_width (int n);

void trim ();

ellipse

ellipse: rectangle;
Graphic object whose image is an ellipse
Source: FIGURE.L


void draw (any w);

void ellipse ();

void ellipse (int x1, int y1, int x2, int y2);

end_group_box

end_group_box: control;
Marks the end of a group box
Source: CONTROL.L


void end_group_box ();

void update_size ();

env_file

env_file: null;
User environment definition file
Source: ENVFILE.L


protected: memory buf;

public: string default_section;

public: string path;

void env_file ();

void env_file (string path);

string get (string key);

string get (string section, string key);

string get (string section, string key, string default_value);

array keys ();

array keys (string section);

any put (string key, any value);

any put (string section, string key, any value);

array sections ();

figure

figure: null;
Base class for graphic objects
Source: FIGURE.L


protected: string draw_mode;

public: int handle;

public: int handle_x;

public: int handle_y;

public: int num_handles;

public: int x_max;

public: int x_min;

public: int y_max;

public: int y_min;

void compute_extrema ();

bool contains (int x, int y);

void do_draw_handles (window w, pen p, brush b);

void draw (window w);

void draw_bounding_box (window w);

void draw_during_drag (window w);

void draw_handles (window w);

point handle_pos (int i);

int height ();

bool intersects (int x1, int y1, int x2, int y2);

void move_by (int dx, int dy);

void move_to (int x, int y);

int next_handle ();

int pick_handle (int x, int y);

void undraw (window w);

void undraw_handles (window w);

int width ();

void xor_draw (window w);

file

file: null;
File I/O
Source: FILE.L

. See also: fopen

public: string access;

protected: memory buffer;

protected: long buffer_index;

public: long buffer_size;

protected: long buffer_used;

public: int errno;

public: string error;

public_read: bool exclusive;

protected: int fh;

protected: memory line;

public: long line_size;

public_read: bool partial_last_line;

public: string path;

public: int truncated_lines;

protected: memory val_buf;

public_read: bool write_access;

bool atend (); Returns true if positioned at the end of file

bool close (); Close the file

bool commit (); Force file to be updated
. In addition to flushing buffers to the operating system, this
. function assures that the data is written to disk and the file's
. directory entry is updated.

void file (); Constructur
. No file is opened.

void file (string path); Constructor to open a file for input

void file (string path, string access);
. The access is "r" for reading, "w" for writing, "rw" for reading
. and writing, or "a" for appending to the end of file.
. In addition, an "x" may be appended to the access to open for
. exclusive (non-shared) access. The default is shared access.
. In addition, a "c" may be added as the first character of the
. access to force the file to be created if it does not exist
. already (this is commonly used with append access: "ca".)

void free (); Destructor

bool lock (); Lock the current position for exclusive access
. See also: unlock

bool lock (long offset); Lock a byte position for exclusive access
. See also: unlock

bool open (string path); Open a file for input

bool open (string path, string access); Open a file
. See the constructor for details on "access".

bool output_buffer (); Output internal buffer

long position (); Returns the current position
. Returns null if file is not open.

any put_to (any v); Append a value to end of file

bool read (long offset, memory buffer, long size);

bool read (memory buffer, long size);

unsigned char read_byte ();

unsigned char read_byte (long offset);

bool read_bytes (long offset, memory buffer, long size);

bool read_bytes (memory buffer, long size);

char read_char ();

char read_char (long offset);

double read_double ();

double read_double (long offset);

int read_int ();

int read_int (long offset);

string read_line ();

long read_long ();

long read_long (long offset);

short read_short ();

short read_short (long offset);

unsigned read_unsigned ();

unsigned read_unsigned (long offset);

unsigned char read_unsigned_char ();

unsigned char read_unsigned_char (long offset);

unsigned short read_unsigned_short ();

unsigned short read_unsigned_short (long offset);

long seek (long offset);

long seek_eof ();

void seteof ();

long size ();

long tell ();

string text ();

bool unlock (); Unlock current position enable shared access

bool unlock (long offset); Unlock specified position to enable shared access

bool write (long offset, memory buffer, long size);

bool write (memory buffer);

bool write (memory buffer, long size);

bool write_byte (long offset, unsigned char n);

bool write_byte (unsigned char n);

bool write_bytes (long offset, memory buffer, long size);

bool write_bytes (memory buffer);

bool write_bytes (memory buffer, long size);

bool write_char (char n);

bool write_char (long offset, char n);

bool write_double (double n);

bool write_double (long offset, double n);

bool write_int (int n);

bool write_int (long offset, int n);

void write_line (string line);

bool write_long (long n);

bool write_long (long offset, long n);

bool write_short (long offset, short n);

bool write_short (short n);

bool write_unsigned (long offset, unsigned n);

bool write_unsigned (unsigned n);

bool write_unsigned_char (long offset, unsigned char n);

bool write_unsigned_char (unsigned char n);

bool write_unsigned_short (long offset, unsigned short n);

bool write_unsigned_short (unsigned short n);

file_copier

file_copier: null;
Copy a file
Source: FILE.L

. Define a derived class to get control as each buffer is transferred.
. This class doesn't actually copy by itself, you must repeatedly
. call the "next" member function until it returns false.

public: int block_size;

protected: memory buf;

public: long bytes_copied;

public: string dest_path;

public: any error;

protected: int fh;

public: long file_size;

protected: int out_fh;

public: string source_path;

bool close ();

void file_copier ();

void file_copier (string dest_path, string source_path);

void file_copier (string dest_path, string source_path, int block_size);

void free ();

bool next ();

bool open ();

file_edit_print_options

file_edit_print_options: dialog;
Options dialog box for File Editor printing
Source: FILEEDIT.L


public: bool enable_header;

public: bool enable_line_numbers;

void file_edit_print_options ();

file_edit_window

file_edit_window: edit_window;
Text file editor window
Source: FILEEDIT.L


public_read: bool closed;

public: static any default_background;

public: static font default_font;

public: static bool default_line_numbers_enabled;

public: static int default_tab_width;

public_read: file_menu file_menu;

public: string file_type;

public: string file_type_text;

protected: string initial_path;

public_read: int max_recent_files;

public_read: static int num_open;

public: options_menu options_menu;

public_read: string path;

public_read: array recent_files;

void add_extra_menu_items ();

void add_insert_menu ();

void add_options_menu ();

void add_recent_file (string path);

void add_recent_file (string path, text_pos position, text_pos origin);

void auto_save ();

any background (any v);

window clone_window ();

bool close ();

void close_all ();

void close_file_windows ();

bool close_window ();

bool close_work ();

string configuration ();

string configuration (string configuration);

void create_menu ();

file_edit_window create_new_window ();

file_edit_window create_new_window (string path);

bool delete_file ();

void destroy ();

bool do_save ();

bool do_save_as ();

void edit_window_init_update ();

void exit ();

void file_edit_window ();

void file_edit_window (string path);

void file_edit_window_init_update ();

file_pos file_pos ();

any font (any v);

window goto_file (string path);

void insert_day_month_year ();

void insert_file ();

void insert_fname ();

void insert_fname_ext ();

void insert_hh_mm ();

void insert_hh_mm_mm ();

void insert_mdy ();

void insert_mdyyyy ();

void insert_month_day_year ();

void insert_path ();

bool line_numbers_enabled (bool b);

int max_recent_files (int n);

void new1 ();

bool open ();

bool open (string path);

bool open_file (string path);

bool open_recent_file (string path);

string path (string path);

text_pos position ();

bool query_end_session ();

array recent_files (array rf);

void recent_files_changed ();

void renumber_windows ();

void save ();

bool save_all ();

bool save_and_close_window ();

void save_as ();

bool save_file (string path);

void set_file_type (string path);

bool share_file (file_edit_window w);

int stopped_at_line_no ();

int stopped_at_line_no (int n);

void summary_info ();

int tab_width ();

int tab_width (int n);

void update_recent_file (string path);

void update_recent_file (string path, text_pos position, text_pos origin);

text_pos window_origin ();

file_edit_window_options_menu

file_edit_window_options_menu: options_menu;
Options menu for text file editor window
Source: FILEEDIT.L


public_read: menu_item both_menu_item;

public_read: menu_item custom_tab_menu_item;

public_read: menu_item h_menu_item;

protected: menu_item last_scroll_bar;

protected: menu_item last_tab;

public_read: menu_item none_menu_item;

public_read: menu_item numbers_menu_item;

public_read: string scroll_bars;

public_read: menu_item tab_2_menu_item;

public_read: menu_item tab_3_menu_item;

public_read: menu_item tab_4_menu_item;

public_read: menu_item tab_8_menu_item;

protected: int tab_width;

public_read: menu_item v_menu_item;

void both_scroll_bars ();

void custom ();

void file_edit_window_options_menu ();

void horizontal_scroll_bar ();

void no_scroll_bars ();

void record_tab_width (int n);

string set_scroll_bars (string sb);

void set_tab_width (menu_item tab, int n);

void show_line_numbers ();

any tab_2 ();

any tab_3 ();

any tab_4 ();

any tab_8 ();

void vertical_scroll_bar ();

file_list_box

file_list_box: list_box;
List box for files in a directory
Source: CONTROL.L


public: string dir;

public: edit_text file_name;

public: string file_type;

void file_list_box ();

void file_list_box (int rows, int columns);

void file_list_box (int rows, int columns, edit_text file_name, string variable);

void handle_command (int code);

void init_dialog ();

void store_value ();

void store_value1 ();

void update ();

file_menu

file_menu: menu;
Standard File menu
Source: FILEEDIT.L


protected: int first_recent_file;

protected: string last_cwd;

public: int max_recent_files;

protected: bool more_files;

protected: int num_recent_files;

public_read: array recent_files;

public: bool recent_files_changed;

void by_name ();

void by_text ();

void close_all ();

void close_file_windows ();

void delete_file ();

void exit ();

void file_menu ();

void more_files ();

void new1 ();

void open ();

void open_recent_file (int i);

void popup ();

void print ();

void print_setup ();

any recent_file_1 ();

any recent_file_2 ();

any recent_file_3 ();

any recent_file_4 ();

any recent_file_5 ();

any recent_file_6 ();

any recent_file_7 ();

any recent_file_8 ();

any recent_file_9 ();

array recent_files (array recent_files);

void save ();

void save_all ();

void save_as ();

void summary_info ();

file_pos

file_pos: null;
Position in a file
Source: LINEEDIT.L


public: string configuration;

public: string path;

public_read: text_pos position;

public_read: rect window_bounds;

public: string window_mode;

public_read: text_pos window_origin;

void file_pos (string path, int line);

void file_pos (string path, int line, int col);

void file_pos (string path, rect window_bounds, text_pos position, text_pos window_origin, string window_mode, string configuration);

void file_pos (string s);

file_pos parse (string s);

text_pos position (text_pos position);

string text ();

text_pos window_origin (text_pos window_origin);

file_window

file_window: text_window;
Text file display window
Source: FILEEDIT.L


void file_window ();

void file_window (string path);

string path ();

string path (string path);

find_file

find_file: null;
Find a file given a starting directory and file name
Source: FINDFILE.L


public: string path;

void find_file (string path);

string search (); Begin the search and return path for file when found or null

string search (any path); See if file exists in a directory (or below)

bool searching (string path); Callback to get control when checking if file is in a directory
. Returns false to abort the file search.
. This default callback will display a status message in the
. window referred to by the global variable w (if it is a window.)

find_replace

find_replace: null;
Base class for standard Find and Replace dialog boxes
Source: FINDREP.L


public: bool found_it;

protected: memory fr;

public: int handle;

public: static bool match_case;

public: static bool match_whole_word;

public: window parent;

public: static bool search_forward;

public: any search_object;

public: static string what;

public_read: static memory what_buf;

protected: int x;

protected: int y;

void close ();

void destroy ();

void find_replace ();

void find_replace_message ();

void got_error ();

int height ();

void replace ();

void replace_all ();

bool search ();

void setup_for_show ();

int total_height ();

int y ();

int y (int y);

find_text

find_text: find_replace;
Standard Find dialog box
Source: FINDTEXT.L


void find_text ();

bool show ();

fname_ext_list

fname_ext_list: null;
List of file names and extensions only from a list of paths
Source: MOREFILE.L


public: any list;

int find_text (string text);

void fname_ext_list (any list);

string get (int i);

int size ();

font

font: null;
Set of text attributes
Source: FONT.L


public: int actual_height;

protected: int angle;

protected: bool ansi_charset;

protected: int ave_char_width;

public: brush background;

protected: bool bold;

protected: int char_width;

public_read: pen color;

public_read: int external_leading;

protected: string family;

protected: bool fixed_pitch;

protected: bool freed;

protected: unsigned handle;

protected: int height;

public_read: int internal_leading;

protected: bool italic;

protected: int line_spacing;

protected: int max_char_width;

protected: bool proof_quality;

public_read: long rgb_color;

protected: bool strikeout;

protected: string typeface;

protected: bool underline;

public: window window;

int angle ();

int angle (int angle);

bool ansi_charset ();

bool ansi_charset (bool ansi_charset);

int ave_char_width ();

bool bold ();

bool bold (bool bold);

int char_width ();

pen color (pen color);

font copy ();

unsigned create_font ();

void delete_font ();

void destroy ();

string family ();

string family (string family);

bool fixed_pitch ();

bool fixed_pitch (bool fixed_pitch);

void font ();

void font (string text);

void free ();

unsigned handle ();

int height ();

int height (int height);

void init_copy ();

bool italic ();

bool italic (bool italic);

int line_spacing ();

int max_char_width ();

bool proof_quality ();

bool proof_quality (bool proof_quality);

void reset ();

bool strikeout ();

bool strikeout (bool strikeout);

string text ();

string typeface ();

string typeface (string typeface);

bool underline ();

bool underline (bool underline);

frame_window

frame_window: window;
MDI frame window
Source: FRAMEWIN.L


public_read: int client_window;

public: menu edit_menu;

public: menu file_menu;

public: menu frame_menu;

public: menu help_menu;

public: bool initially_maximize;

public: int max_recent_files;

public: int next_untitled;

public: menu options_menu;

public: array recent_files;

public_read: string scroll_bars;

public: menu window_menu;

void arrange_icons ();

void cascade ();

bool close ();

void create ();

void create_client ();

void create_menu ();

void create_window_menu ();

void frame_window ();

void frame_window (string title);

menu mdi_menu (menu menu);

menu menu (menu menu);

frame_window put_to (any v);

bool query_end_session ();

string scroll_bars (string sb);

void tile ();

void update_margins ();

freehand

freehand: figure;
Graphic object which is a sequence of connected points.
Source: FIGURE.L


protected: array handles;

void draw (window w);

void freehand (long x1, long y1, long x2, long y2);

point handle_pos (int i);

void stretch_to (long x, long y);

string text ();

globals

globals: null;
Access list of all global variables
Source: INTERP.L


protected: int address;

protected: int hash_slot;

protected: int i;

protected: int overflow_block;

protected: int overflow_slot;

int find (string name); Returns the index for a global variable name
. Returns -1 if no global variable with that name.

any get (any i); Returns the value of the ith global variable
. "i" may be a global variable name as well as an index.

void globals (); Constructor

string name (long i); Returns the name of the ith global variable

any put (any i, any v); Replaces the value of the ith global variable
. "i" may be a global variable name as well as an index.
. Returns the new value.

long size (); Returns the number of global variables

globals_browser

globals_browser: edit_window;
Global Variable Browser window
Source: BROWSER.L


void clicked_line (int line_no);

void globals_browser ();

group_box

group_box: push_button;
Group box control
Source: CONTROL.L


void group_box ();

void group_box (string text);

void group_box (string text, string variable);

h_scroll_bar

h_scroll_bar: scroll_bar;
Horizontal scroll bar control
Source: CONTROL.L


void h_scroll_bar ();

help_menu

help_menu: menu;
Standard Help menu
Source: MENU.L


void about ();

void basic_skills ();

void commands ();

void glossary ();

void help ();

void help_menu ();

void index ();

void keyboard ();

void procedures ();

void using_help ();

hotlink

hotlink: link;
Manage client side of a DDE hot-link
Source: LINK.L


public_read: static array hotlinks;

bool advise ();

void connect ();

void disconnect ();

void hotlink (string application, string service, string item);

string text ();

bool unadvise ();

icon

icon: custom_button;
Icon control
Source: ICON.L


protected: int and_bitmap;

protected: int and_bitmap_old;

protected: int and_dc;

protected: int hIcon;

protected: bool manually_set_hIcon;

public_read: int size;

protected: int xor_bitmap;

protected: int xor_bitmap_old;

void create ();

void destroy ();

void destroy_icon ();

void draw (window w, long x, long y); Draw the icon in a window

void free ();

unsigned hIcon (); Returns the Windows handle for the icon

unsigned hIcon (unsigned hIcon);

void icon ();

void paint (int x1, int y1, int x2, int y2);

any put (int row, string row_text);

string put_to (string s);

interval

interval: array;
Indirectly reference a sub-range of an array-like object
Source: INTERVAL.L


public: long end;

public: any object;

public: long start;

any copy_data ();

array copy_data_as_array ();

long find (any v, long i);

any get (long i);

any insert (long i, any v);

void interval ();

void interval (any object);

void interval (any object, long start);

void interval (any object, long start, long end);

any put (long i, any v);

void remove ();

void remove (long i);

void remove (long i, long n);

long size ();

string text ();

label_text

label_text: left_text;
Static text control for labelling an edit_text field
Source: CONTROL.L


void label_text ();

void label_text (int columns, string variable);

void label_text (string text);

left_text

left_text: static_text;
Left-justified static text control
Source: CONTROL.L


void left_text ();

void left_text (int columns, string variable);

void left_text (string text);

liana_compile_link

liana_compile_link: null;
Liana compiler/linker
Source: LCL.L

. Not normally used directly, this class is used by the "eval" and
. "run_macro" classes as well as the Liana IDE.
. It can also be used to build a Liana library (.LLB) file.

public_read: string exe_path;

public_read: unsigned ls;

protected: array messages;

public_read: int num_errors;

public: window status_window;

void abort ();

bool compile (string path);

bool debug (bool debug);

bool decl (string text);

bool decl (string text, string path);

void default_library ();

bool do_build ();

any evaluate_expression (string expr);

string exe_path (string exe_path);

any execute_macro (string macro);

any execute_macro (string macro, string path);

bool file (string path);

void finish ();

void free ();

bool generate_documentation (bool gen_doc);

string get (int i);

void get_messages ();

void init ();

void liana_compile_link ();

void library (string path);

string library_path (string library_path);

bool load_library ();

string map_path (string map_path);

bool new_link ();

void no_default_library ();

string project_path (string project_path);

liana_compile_link put_to (string path);

void set_libraries ();

void set_status_window ();

int size ();

line

line: figure;
Manages a graphic object whose image is a line
Source: FIGURE.L


public: int x1;

public: int x2;

public: int y1;

public: int y2;

void compute_extrema ();

void draw (window w);

void draw_during_drag (window w);

point handle_pos (int i);

void line ();

void line (any x1, any y1, any x2, any y2);

void move_by (int dx, int dy);

void read (file f);

void stretch_to (int x, int y);

string text ();

void write (file f);

line_editor

line_editor: child_window;
Full-featured multi-line text editor control
Source: LINEEDIT.L


public_read: bool auto_update;

public: bool backup;

protected: brush bg_brush;

protected: pen bg_pen;

protected: static bitmap breakpoint_marker;

public_read: line_editor_buffer buf;

public_read: int col_no;

public: string configuration;

public_read: int cpl;

public_read: int cs;

protected: static bitmap cur_marker;

public: array editors;

public: bool hide_selection;

protected: h_scroll_bar hs;

protected: int hs_height;

protected: int hs_x;

protected: int hs_y;

protected: bool insert_mode;

public_read: int last_col_no;

public_read: int last_first_column;

public_read: int last_first_row;

public_read: int last_line_no;

public_read: static find_replace last_search;

public: static string last_typing;

public: static bool last_typing_frozen;

protected: int left_area_width;

protected: int left_text_margin;

protected: static bitmap line_cursor;

public_read: int line_no;

protected: static bitmap line_no_cursor;

public_read: int line_number_digits;

public_read: bool line_numbers_enabled;

protected: array lines;

public_read: int lpp;

public_read: int lpp_page;

public_read: int ls;

public_read: bool needs_update;
Gets set to true if a change is made then requires screen update.

protected: static int num_instances;

public_read: array old_line_numbers;

protected: int old_marker_line;

public_read: string path;

public: bool read_only;

protected: int saved_size;

public_read: string scroll_bars;

public: text_range sel_range;

protected: static bitmap selected_flag;

public_read: int stopped_at_line_no;

protected: static bitmap stopped_at_marker;

public_read: int tab_width;

protected: any text_background;

protected: int up_down_col;

protected: v_scroll_bar vs;

protected: int vs_width;

protected: int vs_x;

public_read: string word_at_cursor;

public: string word_set;

void at_selection (text_range selection);

void at_word (int line_no, int col_no, string word);

void auto_save ();

bool auto_update (bool auto_update);

any background ();

any background (any bg);

void backspace_key ();

void button_down (int x, int y);

int chars_per_line ();

void click (int x, int y);

void clicked (int line);

void clicked_line (int line);

int col_no (int c);

int col_to_index (int line, int col);

void compute_text_space ();

void copy_to_clipboard ();

void create_window ();

void ctrl_a_key ();

void ctrl_backspace_key ();

void ctrl_end_key ();

void ctrl_f_key ();

void ctrl_g_key ();

void ctrl_h_key ();

void ctrl_home_key ();

void ctrl_left_key ();

void ctrl_n_key ();

void ctrl_o_key ();

void ctrl_p_key ();

void ctrl_right_key ();

void ctrl_s_key ();

void ctrl_shift_end_key ();

void ctrl_shift_f4_key ();

void ctrl_shift_left_key ();

void ctrl_shift_right_key ();

void cursor_moved (int line_no, int col_no);

void cut_to_clipboard ();

void dbl_click (int x, int y);

void delete_if_selection ();

void delete_key ();

void delete_selection ();

void delete_text ();

void deselect ();

void destroy ();

void do_enter_key ();

void do_find ();

void do_find (bool search_forward);

void do_goto ();

void do_replace ();

void down_key ();

void drag (any x, any y);

void draw_breakpoint_marker (int line_no);

void draw_cur_marker ();

void draw_markers (int line_no);

void draw_stopped_at_marker ();

void end_drag (any x, any y);

void end_key ();

void enter_key ();

void escape_key ();

void extend_sel_range (text_pos p);

void f4_key ();

file_pos file_pos ();

int first_column (int first_column);

int first_row (int first_row);

font font (font font);

void free ();

string get (int i);

string get_selection ();

void got_focus ();

void h_scroll_bottom ();

void h_scroll_line_down ();

void h_scroll_line_up ();

void h_scroll_page_down ();

void h_scroll_page_up ();

void h_scroll_thumb_position (int i);

void h_scroll_thumb_track (int i);

void h_scroll_top ();

void highlight_line (int i);

void home_key ();

int index_to_col (int line, int i);

void init ();

void init_scroll_bars ();

void insert_file (string path);

void insert_key ();

void insert_text (string s);

void insert_text (string s, int line, int col);

void insert_text (string s, string what);

void key (string ch);

void left_key ();

int line_count ();

void line_editor ();

void line_editor (string path);

int line_length (int i);

int line_no (int i);

int line_number_digits (int n);

bool line_numbers_enabled (bool b);

void line_rectangle (int x1, int y1, int x2);

int lines_per_page ();

void lost_focus ();

int max_column (int max_column);

int max_row (int max_row);

int min_line_number_digits ();

bool modified ();

bool modified (bool b);

bool mods_not_ok ();

void mouse_position (int x, int y);

array old_line_numbers (array a);

void paint (int x1, int y1, int x2, int y2);

void paint_selection ();

void paint_selection (text_pos p1, text_pos p2);

void paste_from_clipboard ();

string path (string path);

text_pos pixel_to_text_pos (int x, int y);

text_pos position ();

void position (int line, int col);

text_pos position (text_pos p);

string put (int i, string line);

line_editor put_to (string v);

text_pos raw_position ();

text_pos raw_position (text_pos pos);

void recompute_left_area ();

void redo ();

void refresh ();

void refresh (int x1, int y1, int x2, int y2);

void refresh_line (int i);

void remove (int i);

void replace_selection (string text);

void reposition_scroll_bars ();

void resized (int width, int height);

void right_key ();

bool save_file (string path);

bool save_to_file (string path);

bool save_to_file_with_backup (string path);

string scroll_bars (string sb);

bool search (string what, bool match_whole_word, bool match_case, bool search_forward);

bool search_next (string what, bool match_whole_word, bool match_case, bool search_forward);

bool search_silently (string what, bool match_whole_word, bool match_case, bool search_forward);

bool search_silently (string what, text_pos start, bool match_whole_word, bool match_case, bool search_forward);

void select_all ();

void select_word ();

void select_word (text_pos p);

void set_breakpoint (int line_no, bool b);

void setup_dc ();

void share_file (line_editor ed);

void shift_click (any x, any y);

void shift_down_key ();

void shift_end_key ();

void shift_f3_key ();

void shift_f4_key ();

void shift_home_key ();

void shift_left_key ();

void shift_page_down_key ();

void shift_page_up_key ();

void shift_right_key ();

void shift_up_key ();

long size ();

long size_in_bytes ();

bool something_selected ();

bool something_to_redo ();

bool something_to_select ();

string something_to_undo ();

void start_drag (any x1, any y1, any x2, any y2);

string status (string text);

int status_update_interval ();

int stopped_at_line_no (int n);

int tab_width (int n);

string text ();

string text (string s);

point text_pos_to_pixel (text_pos p);

bool toggle_breakpoint (int line_no);

void trim ();

void uncover_match ();

void undo ();

void up_key ();

void update ();

void update_markers (int line_no);

void update_position ();

void update_position_status ();

void v_scroll_bottom ();

void v_scroll_line_down ();

void v_scroll_line_up ();

void v_scroll_page_down ();

void v_scroll_page_up ();

void v_scroll_thumb_position (int i);

void v_scroll_thumb_track (int i);

void v_scroll_top ();

bool visible (int i);

text_pos window_origin ();

text_pos window_origin (text_pos origin);

line_editor_buffer

line_editor_buffer: null;
Text buffer for line_editor
Source: LINEEDIT.L


public: array cur_undo;

public: array editors;

public: array lines;

public: array marks;

public: int max_column;

public: bool modified;

public: array op_names;

public: array ops;

public: bool redo_in_progress;

public: bool undo_in_progress;

public: int undo_index;

string error_status (string msg);

string get (int i);

any insert (int i, any v);

void line_editor_buffer ();

int max_row ();

void new_undo (string name);

void redo ();

void remove (long i);

void remove (long i, long n);

int size ();

bool something_to_redo ();

bool something_to_select ();

string something_to_undo ();

void trim ();

void undo ();

line_editor_command

line_editor_command: null;
State info for an executed line_editor command
Source: LINEEDIT.L


public: line_editor editor;

protected: text_range range;

public: string text;

void do_delete ();

void do_insert ();

void line_editor_command (line_editor editor, int l1, int i1, int l2, int i2, string text);

text_range range ();

line_editor_copy_command

line_editor_copy_command: line_editor_command;
State info for an executed line_editor copy command
Source: LINEEDIT.L


public: string old_text;

void line_editor_copy_command (line_editor editor, string text);

void redo ();

void undo ();

line_editor_delete_command

line_editor_delete_command: line_editor_command;
State info for an executed line_editor delete command
Source: LINEEDIT.L


void line_editor_delete_command (line_editor editor, int l1, int i1, int l2, int i2, string text);

void redo ();

void undo ();

line_editor_insert_command

line_editor_insert_command: line_editor_command;
State info for an executed line_editor insert command
Source: LINEEDIT.L


void line_editor_insert_command (line_editor editor, int l1, int i1, int l2, int i2, string text);

void redo ();

void undo ();

link

link: window;
Manage client side of a DDE conversation.
Source: LINK.L

. The default timeout for initiating a conversation is 10 seconds
. (10000 milliseconds.)

public: string application;
Name of the target application

public_read: bool got_acked;

public: string item;
Name of a requested item

protected: int op;

public_read: int server;

public: string service;
Name of the target service (topic)

protected: bool terminating;

public: bool timed_out;
Indicates that initiation of a conversation timed out

public: int timeout;
Number of milliseconds that a conversation has to initiate

public_read: timer timer;

public_read: any value;

void changed ();

void destroy ();

bool execute (string commands);

string get (string item);

void handle_ack_message (unsigned wParam, long lParam);

void handle_data_message (unsigned wParam, long lParam);

long handle_message (unsigned hWnd, unsigned message, unsigned wParam, long lParam);

void handle_poked_message (unsigned wParam, long lParam);

bool initiate ();

bool initiated ();

void kill_wait ();

void link ();

void link (string application, string service);

any poke (string item, string v);

string put (string item, string v);

any request (string item);

bool terminate ();

string text ();

bool wait ();

list_box

list_box: control;
List box (scrollable list of items)
Source: CONTROL.L


public_read: int columns;

public_read: any list;

public_read: int rows;

protected: int selected;

int columns (int columns);

any get (int i);

void handle_command (int code);

void init_dialog ();

any list (any list);

void list_box ();

void list_box (any list);

void list_box (any list, int rows, int columns);

void list_box (any list, int rows, int columns, string variable);

void load ();

bool partial_items ();

bool partial_items (bool partial_items);

int rows (int rows);

int selected ();

int selected (int selected);

void show ();

int size ();

bool sorted ();

bool sorted (bool sorted);

void store_value ();

string text ();

logo_window

logo_window: window;
Logo window for introducing an application
Source: LOGOWIND.L


protected: bitmap bm;

public: int interval;

protected: timer timer;

void click ();

void destroy ();

void enter_key ();

void hide ();

void key (string ch);

void logo_window ();

void logo_window (string path);

void paint ();

void show ();

void wait ();

void wait (int interval);

main

main: main_base;
Implicitly defined by linker to holds all non-member functions
Source: MAIN.L

. This is a dummy definition for the purpose of documenting
. the class. The "real" main class is created implicitly by
. the linker to hold all file-level functions.

main_base

main_base: null;
Base class for the "main" class
Source: MAIN.L


int main ();

int main (int argc, array argv);

matrix

matrix: array;
Dynamic two-dimension matrix
Source: MATRIX.L


any get (int i, int j);

void matrix ();

void print ();

void print (window w);

any put (int i, int j, any v);

media

media: null;
Access a media file using MCI
Source: MEDIA.L


protected: range frames;

protected: string media_id;

protected: static int media_id_gen;

public_read: string path;

string capability (string item);

int clean_position (int pos);

void close ();

void destroy ();

int ext_position (int p);

void frame (int frame);

void mci_error (string command, string msg);

bool mci_execute (string command);

bool mci_execute (string command, int hWnd);

void media ();

void media (string path);

string path (string path);

void pause ();

void play ();

bool playing ();

int position ();

int position (int position);

void position_on_new_path ();

int raw_position ();

bool ready ();

void rewind ();

void show_mci_error (string command, string msg);

int size ();

string status ();

string status (string item);

void stop ();

bool stopped ();

memory

memory: null;
Internal class used by malloc and large strings
Source: INTERP.L


memory_file

memory_file: array;
In-memory text file
Source: MEMFILE.L


public_read: int at;

public_read: string path;

bool close ();

void memory_file ();

void memory_file (string path);

void open ();

void open (string path);

string read_line ();

menu

menu: null;
Standard menu
Source: MENU.L


public_read: bool auto_update;

public: bool bar_break;

public: bool break1;

public: bool checked;

public_read: bool enabled;

public_read: bool grayed;

public_read: int handle;

public: string help_text;

public_read: bool hilit;

protected: array items;

public: bool needs_update;

public: menu parent;

public: int position;

public: bool separator;

public_read: string text;

public: window window;

bool auto_update (bool auto_update);

unsigned CreateMenu ();

string decode_options (string item);

void disable ();

void enable ();

bool enabled (bool enabled);

menu find_handle (unsigned h);

menu_item find_id (unsigned id);

int flags ();

any get (int i);

window get_window ();

void gray ();

bool grayed (bool grayed);

bool hilit (bool hilit);

void hilite ();

any insert (int i, any v);

void internal_text (string text, unsigned flags);

void menu ();

void menu (string text);

void popup ();

any put (int i, any v);

menu put_to (any item);

void remove (long i, long n);

int size ();

string text (string text);

void unhilite ();

void update ();

menu_item

menu_item: menu;
Menu item
Source: MENU.L

. These are appended to a "menu" object.

public: string callback;
Callback for when menu item is selected
. This is a string which is either a function name or a Liana
. statement block (enclosed within braces.)

public_read: int id;

public: any object;

void check (); Add a check mark to a menu item

bool checked (bool checked); Add or remove the check mark for a menu item
. Returns true if the item ends up being checked.

any get (int i);

void internal_text (string text, unsigned flags);

void menu_item ();

void menu_item (string text);

void menu_item (string text, string callback); Constructor with menu text and callback
. The callback is a string which is either a function name or a
. Liana statement block (enclosed within braces.)

void menu_item (string text, string callback, any object); Constructor with menu text and callback and object for callback
. The callback is a string which is either a function name or a
. Liana statement block (enclosed within braces.)

any put (int i, any v); Dummy function to give an error if "put" is attempted for a menu item.

any put_to (any v); Dummy function to give an error if "put_to" is attempted for a menu item.

bool toggle ();

void uncheck ();

menu_separator

menu_separator: menu_item;
Standard menu separator
Source: MENU.L


void menu_separator ();

metafile

metafile: window;
Windows graphic Metafile
Source: METAFILE.L


protected: bool open;

void close ();

metafile copy_from (metafile mf);

void draw (window w);

void draw (window w, int x, int y);

void finish_init ();

void free ();

unsigned handle ();

void metafile ();

void metafile (string path);

void metafile (string path, string access);

bool store (string path);

modeless_dialog

modeless_dialog: dialog;
Base class for mode-less dialog boxes
Source: DIALOG.L


void modeless_dialog ();

void modeless_dialog (string caption);

mono_bitmap

mono_bitmap: bitmap;
Monochrome bitmap
Source: BITMAP.L


void mono_bitmap (int width, int height);

more_files

more_files: dialog;
Scrollable file list dialog box for More Files menu item
Source: MOREFILE.L


public: string directory;

public: string file_description;

public: string file_ext;

protected: array files;

protected: array fname_ext_files;

public: string path;

void add_file (string path);

void browse ();

void more_files (string title, array files);

void more_files (string title, array files, string file_ext, string file_description);

null

null: ;
Base class for all classes
Source: NULL.L


any browser_element_name (int i); Get name of ith element for debug browser
. This is the class and name of the ith member.

any browser_element_value (int i); Get value of the ith element for the debug browser
. This is the value of the ith member.

any but_first (); Returns a copy of an array-like object except for the first element

any but_last (); Returns a copy of an array-like object except for the last element

unsigned long c_pointer (); Returns a C pointer to an object
. This pointer is valid until the object is freed.
. It should be used only for strings, memory objects,
. and class instances. Do not modify the values of
. class data members using this pointer since they are
. stored in a special binary format that is not directly
. compatible with C/C++.
. It returns null for other types of values.

any call (string func_name); Call a member function with no arguments

any call (string func_name, any v); Call a member function with one argument

any call (string func_name, any v1, any v2); Call a member function with two arguments

any call (string func_name, any v1, any v2, any v3); Call a member function with three arguments

any call (string func_name, any v1, any v2, any v3, any v4); Call a member function with four arguments

any call (string func_name, any v1, any v2, any v3, any v4, any v5); Call a member function with five arguments

string class_name (); Returns the name of the class for this object

any copy (); Returns a copy of this object.
. This is a "shallow" copy. The value of each member is assigned
. to each member in the copy.
.
. See also: copy_as_array and copy_deep

array copy_as_array (); Returns a new array containing the elements of an array-like object

array copy_as_array_deep (); Returns a new array with the deep copied elements of an array-like object

any copy_deep (); Returns a deep copy of this object.
. The value of each member is recursively copied.
.
. See also: copy_as_array and copy

long descriptor (); Returns the internal 32-bit descriptor for this object.

void destroy (); Default destructor

bool equal (any v);

bool exactly_equal (any v);

void f12_key (); Default handler for the F12 key (calls _f12_hack)
. The default definition for "_f12_hack" invokes the keyhole debugger.

long find (any v); Returns the index of a value in an array-like object
. Returns -1 if not found.

long find (any v, long start); Returns the index of a value in an array-like object starting at ith value
. Returns -1 if not found.

long find_text (string s); Returns the index of a value in an array-like object comparing "text" of each value
. Returns -1 if not found.

long find_text (string s, long start); Returns the index of a value in an array-like object comparing "text" of each value starting at ith value
. Returns -1 if not found.

long find_text_begins (string s); Returns index of the first value in an array-like object whose "text" begins with a string
. Returns -1 if not found.

long find_text_begins (string s, long start); Returns index of the first value in an array-like object whose "text" begins with a string starting at ith value
. Returns -1 if not found.

any first (); Returns first element of an array-like object
. Returns null if size is zero.

any first (any v); Sets the first element of an array-like object
. If object has elements, this replaces first element.
. If object has no elements, this gives it a single element.

void free (); Dummy destructor

long get_lines (string buf);

long get_lines (string buf, long i);

long get_lines (string buf, long i, long limit);

long get_lines (string buf, long i, long limit, bool partial);

bool greater (any v); Function implementing the ">" relational operator

int insert_lines (string buf);

int insert_lines (string buf, long i);

int insert_lines (string buf, long i, int tab_width);

long internal_id (); Returns the internal 24-bit ID for a name or object's class name
. Returns id for a name string, object's class, or 0 for other values.

bool is_a (string class_name); Returns true if this object is of specified class or a derived class

bool is_a_id (long class_name_id); Returns true if this object is of specified class id or a derived class
. The argument is the internal id for the class name (see internal_id.)
. This is faster than "is_a" since the class name string does not have
. to be looked up to get the internal id.

bool is_defined (string function_name); Indicates whether class defines a function

bool is_defined (string function_name, int num_parameters); Indicates whether class defines a function with number of parameters

bool is_error (); Returns true if object is an error return
. Such as from the "call" functions.

bool is_object (); Indicates whether this object is a user-defined object
. This excludes null, bool, int, real, and string.

bool is_predefined (); Indicates whether this object is a predefined basic type
. This includes null, bool, int, real, and string.

string key (); Dummy "key" for object
. The "key" for an object is used in places such as the table::put_to
. function as a handle for the object.
. This dummy key is this.name.

any last (); Returns final element of an array-like object
. Returns null if size is zero.

bool less (any v); Function implementing the "<" relational operator

any member (any i);

any member (any i, any v);

string member_class (any i); Returns the name of the declared class for a data member
. The argument can be either a numeric index or the name
. for the data member.

string member_class_by_index (int i);

string member_name (int i);

long msize (); The allocated size of this object
. This is the amount of data space actually available, regardless of
. the amount that was originally requested.
. For user-defined objects that do not redefine this function, it
. calls the "size" member function. For example, calling msize for
. an array is the same as calling the size member function.

string name (); Dummy function returning the "name" of this object
. This dummy name is this.source_format.

bool not (); Dummy function implementing the "!" operator
. It returns "false" because it will only be called for a user-defined
. class (which is therefore non-null by definition.) Note that the
. predefined types (null, bool, int, real, string) are handled
. automatically by the runtime interpreter.

bool not_equal (any v); Function implementing the "!=" operator

bool not_greater (any v);

bool not_less (any v); Function implementing the ">=" operator

int num_browser_elements (); Returns the number of browser elements for this object
. This is the number of data members.

int num_members (); The number of members for the object
. Including those from base classes.

int num_non_base_members (); The number of data members defined by the derived class

int obj_type (); Internal object type

int precision (); The specified precision (fractional decimal digits) of a real number
. This is not the number of digits in the number, but the number of
. fractional decimal digits that will be preserved in calculations.
. For non-reals, this is 0.
. For reals without a precision this is 16.

any put (int i, any v); Dummy function for replacing the ith element of an array-like object

any put_to (any v); Append a new element to an array-like object

long refct (); The internal reference count for this object

long refct (long refct); Updates the internal reference count for this object
. This function is not typically used by an application.

any remove (); Empty out an array-like object
. Returns this object.

void remove (long i); Delete the ith element of an array-like object
. Returns this object.

any remove (long i, long n); Delete "n" elements starting with the ith element of an array-like object
. The object will be converted to a string
. Returns this object.

any set (); Initialize all elements to the null value

any set (any v); Initialize all elements to a fixed value

any set (any v, long i); Initialize all elements starting with "i"th element to a fixed value

any set (any v, long i, long n); Initialize "n" elements starting with "i"th elmenet to a fixed value

long size (); The size of this object
. This behaves as if the object was a string (or converted to a string)
. and the strlen function called.
. The internal Liana fixed_array class (used to implement variable
. argument functions) behaves as if the size member function was
. called for an array (number of elements.)
. For user-defined classes, the number of data members is returned.

string source_format (); The object in its Liana source format

void swap (int i, int j); Swap the ith and jth elements of any array-like object

string text (); The text value of the object

any trim (); Empty out an array-like object
. Returns this object.

any trim (long n); Delete the last "n" elements of an array-like object
. Returns this object.

bool undefined_function (string name, int num_args); Handle a call to an undefined member function
. This will attempt to load the function from the library.

object_browser

object_browser: edit_window;
Object Browser window
Source: BROWSER.L

. This can be used to browse arrays, memory buffers, strings, and
. user-defined classes. For an array, one element is displayed
. per line. For a string, one character (along with its hex and
. decimal codes) is displayed per line. For a memory (malloc)
. buffer, 16 bytes (in hex and character form) are displayed per
. line. For a user-defined object, one data member is displayed
. per line. For arrays, memory buffers, and user defined classes
. you may also click on a line to recursively browse the object
. displayed on a line.

public_read: string mode;
Modes: "default", "array", "members", "memory", "string", "text_array"

public_read: any obj;

void clicked_line (int line_no);

string mode (string mode);

any obj (any obj);

void object_browser ();

void object_browser (any obj);

ok_button

ok_button: def_push_button;
Standard OK button
Source: CONTROL.L


void ok_button ();

opcode_frequency_browser

opcode_frequency_browser: edit_window;
Opcode frequency browser window
Source: INTERP.L


void opcode_frequency_browser ();

options_menu

options_menu: menu;
Standard Options menu
Source: MENU.L


protected: menu_item bg_option;

protected: menu_item font_option;

protected: menu_item status_line_option;

void automatic_save ();

void choose_background_color ();

void choose_font ();

void options_menu ();

void popup ();

void show_status_line ();

path_parts

path_parts: null;
Structure that decomposes a path string into its parts
Source: DIR.L


public: string dir;

public: string drive;

public: string ext;

public: string fname;

public: string fname_ext;

public: string path;

public: string raw_dir;

void path_parts ();

void path_parts (string path);

pen

pen: null;
Attributes for drawing lines
Source: WINDOW.L


public_read: any color;

protected: unsigned created_handle;

public_read: unsigned handle;

public_read: string style;

protected: unsigned style_code;

public_read: int width;

any color (any color);

void create_pen ();

void delete_pen ();

void destroy ();

void draw (window w);

void free ();

void pen ();

void pen (any color);

void pen (any color, int width);

void pen (any color, int width, string style);

long rgb ();

void set_style_code ();

any style (any style);

any width (any width);

pentagon

pentagon: rectangle;
Graphic object which is a pentagon
Source: FIGURE.L


void draw (window w);

void pentagon (any x1, any y1, any x2, any y2);

point

point: null;
An x,y coordinate pair
Source: WINDOW.L

. The coordinate values may be of any type, including different types.

public: any x;

public: any y;

point add (any x, any y);

point add (point p);

void add_to (any x, any y);

void add_to (point p);

bool equal (point p);

void parse (string s);

void point (any v);

void point (any x, any y);

string text ();

pointer

pointer: null;
Safe pointer to reference an element of an object.
Source: POINTER.L


public: any object;

public: long offset;

pointer add (long i);

any get ();

any get (long i);

void pointer ();

void pointer (any object);

void pointer (any object, long offset);

any put (any v);

any put (long i, any v);

long sub (pointer p);

string text ();

polygon

polygon: figure;
Graphic object which is an arbitrary polygon
Source: FIGURE.L


public: array p;

void append_point ();

void append_point (int x, int y);

void compute_extrema ();

void draw (window w);

void draw_during_drag (window w);

void draw_for_drag (window w);

point handle_pos (int i);

void move_by (int dx, int dy);

void polygon ();

void polygon (num x1, num y1, num x2, num y2);

void read (file f);

void stretch_to (int x, int y);

void write (file f);

popup_menu

popup_menu: menu;
Floating menu
Source: MENU.L


unsigned CreateMenu ();

void popup (int x, int y);

void popup_menu ();

void popup_menu (string text);

position_status_line

position_status_line: status_line;
Status line for a window with position information
Source: CONTROL.L


protected: int last_position_status_width;

public_read: string position_status;

void paint (int x1, int y1, int x2, int y2);

void paint_position_status ();

string position_status (string text);

void position_status_line ();

printer

printer: window;
Create a print job
Source: PRINTER.L


public: bool aborted;

public: int copies;

public: string driver;

public: int from_page;

public: bool marked;

public: int max_page;

public: int min_page;

protected: unsigned long pd;

public: string port;

public: int to_page;

public: string type;

bool abort ();

unsigned long abort_proc_addr ();

bool close ();

bool new_page ();

bool open ();

bool open (string job_name);

bool open (unsigned hDC, string job_name);

bool open_silently ();

bool open_silently (string job_name);

void prepare_to_draw ();

bool print ();

void printer ();

bool setup ();

prompt

prompt: dialog;
Dialog box to prompt for a text value
Source: PROMPT.L


protected: int columns;

public: any data;

protected: array old_values;

string default_prompt_item_text (); The default item prompt text
. The default prompt is "Enter xxx" where "xxx" is the text
. returned by this member function.

edit_text edit_xxx ();

void ok ();

void prompt ();

void prompt (string prompt);

void prompt (string prompt, any default_value);

void prompt (string prompt, any default_value, int columns);

prompt_int

prompt_int: prompt;
Dialog box to prompt for an integer
Source: PROMPT.L


string default_prompt_item_text (); The default item prompt text

edit_text edit_xxx ();

void prompt_int ();

void prompt_int (string prompt);

void prompt_int (string prompt, int default_value);

void prompt_int (string prompt, int default_value, int columns);

prompt_number

prompt_number: prompt;
Dialog box to prompt for a number
Source: PROMPT.L


string default_prompt_item_text (); The default item prompt text

edit_text edit_xxx ();

void prompt_number ();

void prompt_number (string prompt);

void prompt_number (string prompt, any default_value);

void prompt_number (string prompt, any default_value, int columns);

prompt_password

prompt_password: prompt;
Dialog box to prompt for a password
Source: PROMPT.L


string default_prompt_item_text (); The default item prompt text

edit_text edit_xxx ();

void prompt_password ();

void prompt_password (string prompt);

void prompt_password (string prompt, int columns);

push_button

push_button: control;
Push button control
Source: CONTROL.L


public_read: int columns;

int columns (int columns);

void handle_command (int code);

void push_button ();

void push_button (string text);

void push_button (string text, string callback);

void push_button (string text, string callback, int columns);

void resize_from_text ();

radio_button

radio_button: push_button;
Radio button control for selecting from a set of choices
Source: CONTROL.L


public_read: bool checked;

public: bool group;

bool check ();

bool checked (bool checked);

void default_variable ();

void handle_command (int code);

void init_dialog ();

void radio_button ();

void radio_button (string text);

void radio_button (string text, any value);

void radio_button (string text, any value, string variable);

void store_value ();

bool toggle ();

bool uncheck ();

range

range: null;
Any range consisting of a start and an end
Source: LINEEDIT.L


public: any end;

public: any start;

bool contains (any v);

range copy_from (range r);

void range ();

void range (any start, any end);

string text ();

rect

rect: null;
Rectangular bounding area
Source: WINDOW.L


public: any bottom;

public: any left;

public: any right;

public: any top;

rect add (any x, any y);

rect add (point p);

rect add_to (any x, any y);

rect add_to (point p);

bool contains (any x, any y);

bool contains (point p);

void draw (window w);

bool equal (rect r);

any height ();

rect parse (string s);

void rect ();

void rect (any x1, any y1, any x2, any y2);

void rect (point p1, point p2);

void rect (string s);

string text ();

any width ();

rectangle

rectangle: figure;
Graphic object whose image is a rectangle
Source: FIGURE.L


public: int x1;

public: int x2;

public: int y1;

public: int y2;

void compute_extrema ();

void draw (window w);

void draw_during_drag (window w);

point handle_pos (int i);

void move_by (int dx, int dy);

void read (file f);

void rectangle ();

void rectangle (any x1, any y1, any x2, any y2);

void stretch_to (int x, int y);

string text ();

any write (file f);

replace_text

replace_text: find_replace;
Standard Replace dialog box
Source: REPLACET.L


public: int num_replaced;

public: string with;

protected: memory with_buf;

void replace ();

void replace1 ();

void replace_all ();

void replace_text ();

bool search ();

bool show ();

right_text

right_text: static_text;
Right-justified static text control
Source: CONTROL.L


void right_text ();

void right_text (int columns, string variable);

void right_text (string text);

script_main_base

script_main_base: null;
Base class for the "main" class of a script
Source: MAIN.L

. Differs from main_base in that main::main does not create a window.

int main ();

int main (int argc, array argv);

scroll_bar

scroll_bar: control;
Scroll bar control
Source: CONTROL.L


public_read: long max;

public_read: long min;

protected: long position;

void init_dialog ();

long max (long max);

long min (long min);

long position ();

long position (long position);

void range (long min, long max);

void scroll_bar ();

void show ();

void store_value ();

search_menu

search_menu: menu;
Standard Search menu
Source: MENU.L


any change ();

any find ();

any go_to_page ();

any repeat_last_find ();

void search_menu ();

service

service: null;
Server for DDE conversations
Source: SERVICE.L


protected: array clients;

public: static table conversations;

protected: array keys;

protected: static window services_window;

protected: array values;

bool add_client (string item, int window);

bool advise_client (int window, string item);

bool advise_client (int window, string item, any v);

void changed ();

void changed (string item, any v);

void execute (string command, array args);

void execute (string commands);

void execute_ack ();

any get (any item);

any put (any item, any v);

void service ();

long size ();

void terminated ();

services_window

services_window: window;
Internal window for receiving DDE messages
Source: SERVICE.L


protected: int execute_h;

protected: any execute_hWnd;

protected: bool execute_needs_ack;

protected: int execute_wParam;

void execute_ack ();

long handle_message (unsigned hWnd, unsigned message, unsigned wParam, long lParam);

void services_window ();

square

square: rectangle;
Graphic object whose image is a square
Source: FIGURE.L


void draw (window w);

void square (any x1, any y1, any x2, any y2);

stack

stack: array;
LIFO stack
Source: STACK.L


bool isempty ();

any pop ();

any push (any v);

void stack ();

any top ();

star

star: rectangle;
Graphic object whose image is a five-point star
Source: FIGURE.L


void draw (window w);

void star (any x1, any y1, any x2, any y2);

stat

stat: null;
File status info
Source: FUN.L


public_read: memory buf;

public_read: int error_code;

public_read: string path;

void destroy ();

void free ();

string path (string path);

long st_atime ();

long st_ctime ();

short st_dev ();

short st_gid ();

unsigned short st_ino ();

unsigned short st_mode ();

long st_mtime ();

short st_nlink ();

short st_rdev ();

long st_size ();

short st_uid ();

void stat (string path);

static_bitmap

static_bitmap: custom_button;
Bitmap display control
Source: CONTROL.L


public: bitmap bitmap;

public: bool distort;

public_read: string path;

public: bool stretch;

void destroy ();

void paint (int x1, int y1, int x2, int y2);

string path (string path);

void static_bitmap ();

void static_bitmap (string path);

static_drop_combo_box

static_drop_combo_box: combo_box;
Drop-down combo box for static list
Source: CONTROL.L


int columns (int columns);

void init_dialog ();

int min_y_max ();

void static_drop_combo_box ();

void static_drop_combo_box (any list);

void static_drop_combo_box (any list, int rows, int columns);

void static_drop_combo_box (any list, int rows, int columns, string variable);

string text ();

static_text

static_text: control;
Text display field
Source: CONTROL.L


public: bool auto_size;

public_read: int columns;

public_read: int rows;

int columns (int columns);

void init_dialog ();

int rows (int rows);

void static_text ();

void static_text (int rows, int columns);

void static_text (string text);

void store_value ();

string text (string text);

int width (int width);

bool wrap ();

bool wrap (bool wrap);

status_line

status_line: custom_button;
Status line for a window
Source: CONTROL.L


protected: int last_text_width;

protected: int right_area_width;

int height (int height);

void paint (int x1, int y1, int x2, int y2);

void paint_text ();

string position_status ();

string position_status (string text);

void selected ();

void status_line ();

string text ();

string text (string text);

stdout

stdout: null;
Manage output to "stdout"
Source: STDOUT.L


protected: bool new_line;

protected: any object;

protected: window w1;

void destroy ();

window get_window ();

stdout put_to (any v);

void stdout ();

string_index

string_index: null;
Parser for string of tab-delimited fields
Source: FUN.L


public: int i;

public: string s;

public: bool strip_quotes;

string next_field ();

int next_int_field ();

num next_num_field ();

string next_word ();

string peek_char ();

void string_index (string s);

void string_index (string s, int i);

string unquote (string s);

symbol

symbol: rectangle;
Graphic object which is a user-defined symbol
Source: FIGURE.L


public: display_list dl;

public: string path;

void draw (window w);

void draw_during_drag (window w);

void read (file f);

void symbol ();

void symbol (any x1, any y1, any x2, any y2);

void symbol (string path);

void write (file f);

system_service

system_service: service;
DDE "System" topic server
Source: SERVICE.L


any get (string item_name);

void system_service ();

tabbed_file

tabbed_file: matrix;
Access a file of lines of tab-delimited fields
Source: TABBEDFI.L


public: string path;

bool load (string path);

bool save ();

bool save (string path);

void tabbed_file (string path);

Table

Table: null;
Source: EPP.L


public_read: array c;

public_read: int colno;

public_read: Database d;

public_read: long h;

public_read: bool usable;

long _CurrentColumn ();

void _FirstColumn ();

long _NextColumn ();

any AddColumn (any attr...);

any AddKey (any name...);

any AddRow ();

any ClearFilters ();

array ColumnNames ();

array ColumnNames (int x);

any CopyRow (any o);

any CountColumns ();

any CountRows ();

Column CurrentColumn ();

any CurrentRow ();

any DeleteColumn (any name);

any DeleteRow ();

any Description ();

any Description (any newdesc);

any DuplicateRow ();

any Erase ();

any Filter ();

any Filter (string f);

any FinishRow ();

void FirstColumn ();

any free ();

any GotoRow (long r);

any ID ();

any IsaRow ();

bool IsUsable ();

any LockRow (long LockMode);

any LockTable (long LockMode);

any Name ();

any Name (any newname);

bool NextColumn ();

any NextRow ();

any OrderBy (any s);

any PrevRow ();

any ResetRow ();

any SerNo ();

any SetupColumns ();

any Table (Database _d, string q);

any Unordered ();

any View ();

any View (any newview);

table

table: null;
Associative lookup table
Source: TABLE.L

. This acts like an array indexed by an arbitrary value rather than
. sequential integers.

public: bool case_sensitive;
Whether to obey or ignore case when comparing keys

public: array keys;
List of keys

public: bool modified;
Whether table has been modified
. It is reset when the table is created. It may be manually reset
. by the application.

public: bool sorted;
Whether to keep keys sorted or in chronological order

public: array values;
Parallel list of values for keys

any browser_element_name (int i); Get name of ith element for debug browser
. This is the key name of the ith table entry in square brackets.

any browser_element_value (int i); Get value of the ith element for the debug browser
. This is the value of the ith table entry.

int find (any key); Return the index of a key

any get (any key); Return the value for a key

bool load (string path); Read table from a text file
. One line per key: "key=value".

int num_browser_elements (); Returns the table size as the number of browser elements

any put (any key, any v); Replace the value for a key

table put_to (any v); Add an object
. Assumes that the object has a "key" data member to be used as the key.

void remove (any key); Delete the value for a key

long size (); Returns the number of keys in a table

void table (); Constructor

void table (string path); Constructor that loads a table from a file

void trim (); Delete all keys

bool write (string path); Write table as a text file
. One line per key: "key=value".
. The "text" member function is called for both key and value.

table_file

table_file: file;
Binary file implementation of table class for strings
Source: TABLEFIL.L


public_read: memory header;

protected: long last_hash_index;

protected: long last_key_int;

protected: long last_key_pos;

public: int lock_retry_interval;

public: int lock_retry_limit;

public_read: long min_entry_size;

public_read: long num_hash_entries;

public_read: long pad_factor;

bool bad_position (long pos, string what);

long create_key (string key, string value, long prev);

long file_size ();

void free ();

string get (string key);

long get_hash_entry (int hash);

string get_value (long value_pos);

long get_value_pos (string key);

long hash (string key);

string key (long i);

string lock (string key);

bool open (string path, string access);

bool open (string path, string access, long num_hash_entries);

bool open (string path, string access, long num_hash_entries, long min_entry_size);

bool open (string path, string access, long num_hash_entries, long min_entry_size, long pad_factor);

bool put (string key, string value);

bool put_hash_entry (int hash, long v);

long size ();

long store_value (string value);

void table_file ();

void table_file (string path);

void table_file (string path, string access);

void table_file (string path, string access, long num_hash_entries);

void table_file (string path, string access, long num_hash_entries, long min_entry_size);

void table_file (string path, string access, long num_hash_entries, long min_entry_size, long pad_factor);

bool unlock (string key);

text_edit_menu

text_edit_menu: edit_menu;
Standard Edit menu for text editor
Source: FILEEDIT.L


void copy_to_clipboard ();

void cut_to_clipboard ();

void delete_selection ();

void find ();

void goto1 ();

void paste_from_clipboard ();

void paste_link ();

void redo ();

void replace ();

void select_all ();

bool something_selected ();

bool something_to_redo ();

bool something_to_select ();

bool something_to_undo ();

void text_edit_menu ();

void undo ();

text_insert_menu

text_insert_menu: menu;
Standard Insert menu for text windows
Source: FILEEDIT.L


void insert_day_month_year ();

void insert_file ();

void insert_fname ();

void insert_fname_ext ();

void insert_hh_mm ();

void insert_hh_mm_mm ();

void insert_mdy ();

void insert_mdyyyy ();

void insert_month_day_year ();

void insert_path ();

void text_insert_menu ();

text_pos

text_pos: null;
Text position
Source: LINEEDIT.L


public: int col;

public: int line;

bool equal (text_pos p);

bool greater (text_pos p);

bool less (text_pos p);

bool not_equal (text_pos p);

void parse (string s);

string text ();

void text_pos (int line, int col);

void text_pos (string s);

text_printer

text_printer: printer;
Print a text file.
Source: PRINTER.L


public: bool enable_header;

protected: bool header_output;

public: string job_name;

public: int page_count;

public: int page_number;

void new_copy ();

bool open (string job_name);

void output_header ();

any put_to (string line);

void text_printer ();

string title ();

text_range

text_range: range;
Range of text positions
Source: LINEEDIT.L


int col1 ();

int col2 ();

bool contains (int line);

bool contains (int line, int col);

int line1 ();

int line2 ();

void text_range (int line1, any col1, any line2, any col2);

void text_range (text_pos start, text_pos end);

text_window

text_window: edit_window;
Scrollable text window
Source: FILEEDIT.L


void text_window ();

void text_window (string title);

timer

timer: window;
Wait for time to elapse
Source: TIMER.L


public_read: bool expired;

public: int interval;

public_read: long start_time;

public_read: bool started;

public_read: long stop_time;

public_read: bool stopped;

long elapsed ();

long handle_message (unsigned hWnd, unsigned message, unsigned wParam, long lParam);

void mci_pause_wait (int milliseconds);

void start ();

void start (int milliseconds);

void stop ();

void stop_timer ();

void timer ();

void wait (int milliseconds);

void wait_silently (int milliseconds);

void went_off ();

transform

transform: null;
Two-dimension coordinate transform
Source: WINDOW.L


public: real a;

public: real b;

public: real c;

public: real d;

public: real e;

public: real f;

void transform (real a, real b, real c, real d, real e, real f);

real transform_x (real x, real y);

real transform_y (real x, real y);

triangle

triangle: rectangle;
Graphic object whose image is an isosceles triangle
Source: FIGURE.L


void draw (any w);

void triangle ();

void triangle (int x1, int y1, int x2, int y2);

v_scroll_bar

v_scroll_bar: scroll_bar;
Vertical scroll bar control
Source: CONTROL.L


void v_scroll_bar ();

video

video: custom_button;
Video display control
Source: VIDEO.L


public_read: bitmap bitmap;

protected: memory buf;

protected: long buf_addr;

protected: int buf_size;

public_read: rect destination;

protected: int div;

protected: timer frame_timer;

protected: range frames;

public_read: bool full_screen;

protected: rect full_screen_bounds;

public_read: bool is_avi;

public_read: bool is_mpeg;

public_read: bool is_video;

public_read: bool mpeg;

protected: int mul;

public_read: bool old_dvi;

public_read: int origin;

public_read: string path;

protected: timer pause_timer;

protected: bool pausing;

protected: rect saved_bounds;

protected: rect saved_destination;

public_read: long size;

public_read: rect source;

public: real time_scale_factor;

public_read: string vid;

protected: static int vid_gen;

public: int video_timer_interval;

protected: bool video_visible;

public_read: string volume_label;

bitmap bitmap (bitmap bitmap);

rect bounds (rect r);

string capability (string item);

int clean_position (int pos);

void close ();

rect destination (rect r);

void destroy ();

bool do_open ();

int ext_position (int p);

void frame (int frame);

range frames ();

range frames (range r);

void free ();

bool full_screen (bool full_screen);

rect full_screen_bounds ();

rect full_screen_bounds (rect r);

long handle_message (unsigned hWnd, unsigned message, unsigned wParam, long lParam);

string info (string item);

void mci_error (string command, string msg);

bool mci_execute (string command);

bool mci_execute (string command, int hWnd);

void paint ();

void paint (int x1, int y1, int x2, int y2);

string path (string path);

void pause ();

void play ();

void play (int start, int end);

void play (range range);

bool playing ();

int position ();

int position (int position);

void position_on_new_path ();

int raw_position ();

bool re_open ();

bool ready ();

void rewind ();

void show_mci_error (string command, string msg);

bool signal (long position);

rect source (rect r);

void start_timer ();

string status ();

string status (string item);

void step ();

void stop ();

bool stopped ();

void succeeded ();

void update ();

void video ();

void video (string path);

void video_stuck ();

bool video_visible ();

bool video_visible (bool video_visible);

int x (int x);

int y (int y);

video_timer

video_timer: timer;
Timer for playing video
Source: VIDEO.L


public: int asleep_count;

public: int detected_end_count;

protected: int last_frame;

public: long start_time;

protected: video video;

void start ();

void video_timer ();

void video_timer (video video);

void went_off ();

view_menu

view_menu: menu;
Standard View menu
Source: MENU.L


any refresh ();

any unzoom ();

void view_menu ();

void view_menu (string text);

any zoom_area ();

any zoom_in ();

any zoom_out ();

window

window: null;
A resizable application window
Source: WINDOW.L

. Callback Functions
. ------------------
.
. These are functions defined in the application by classes used
. to define the object stored in the "object" data member.
.
. The callback functions for keys all end with "_key". They are
. also optionally prefixed with the following modifiers:
.
. shift_xxx_key // Shift key
. ctrl_xxx_key // Control key
. alt_xxx_key // Alt key
. ctrl_shift_xxx_key // Control and Shift keys
. ctrl_alt_xxx_key // Control and Alt and Shift keys
. alt_shift_xxx_key // Alt and Shift keys
. ctrl_alt_shift_xxx_key // Control and Alt and Shift keys
.
. For example:
.
. bool shift_f6_key ()
. {
. message ("Got the Shift+F6 key");
. }
.
. Key callback functions should return false if they want normal
. processing (as if not called) to occur. Return null (or no return)
. if the normal processing should be bypassed.
.
.
. bool backspace_key ()
. bool ctrl_a_key ()
. bool ctrl_z_key ()
. bool delete_key ()
. bool down_key ()
. bool end_key ()
. bool enter_key ()
. bool escape_key ()
. bool f1_key ()
. ...
. bool f24_key ()
. bool home_key ()
. bool insert_key ()
. bool left_key ()
. bool num_lock_key ()
. bool page_down_key ()
. bool page_up_key ()
. bool pause_key ()
. bool print_screen_key ()
. bool right_key ()
. bool scroll_lock_key ()
. bool tab_key ()
. bool up_key ()
.
. These functions are called when the user presses the following keys:
.
. Backspace
. Delete
. down arrow (cursor)
. End
. Enter
. Esc (escape)
. Home
. Insert
. left arrow (cursor)
. Num Lock
. Page Down
. Page Up
. Pause
. Print Scrn
. right arrow (cursor)
. Scroll Lock
. Tab
. up arrow (cursor)
.
. ... TBD ...

public: window active_child;

public_read: brush background;

public_read: int bottom_margin;

public_read: brush brush;

public: string callback;

public_read: int caret_height;

public_read: int caret_width;

public_read: int caret_x;

public_read: int caret_y;

public: array children;

public: int column_width;

public: int created_background_brush;

public: int created_brush;

public: int created_pen;

public_read: cursor cursor;

public: array data;

protected: int data_bottom;

protected: int data_left;

protected: int data_right;

protected: int data_top;

protected: int dc;

public: display_list display_list;

protected: int down_x;

protected: int down_y;

public_read: long ex_style;

public_read: int first_column;

public_read: int first_row;

protected: long flags;

public_read: font font;

protected: array gpath;

public_read: int handle;

protected: int hCursor;

protected: int heading;

protected: int height;

public_read: icon icon;

public: int id;

public_read: int left_margin;

public_read: int max_column;

public_read: int max_row;

public_read: menu menu;

public: bool menu_help_enabled;

public_read: int min_column;

public_read: int min_row;

public: int next_x;

public: int next_y;

public: any object;

protected: int old_ROP2;

public_read: any parent;

public_read: pen pen;

public: popup_menu popup_menu;

public_read: int right_margin;

public: int row_height;

public_read: status_line status_line;

public_read: bool status_line_enabled;

public_read: long style;

protected: string text;

public_read: int top_margin;

public: transform transform;

protected: int type;

public_read: table values;

protected: int width;

public_read: int x;

public: int x_offset;

public: int x_spacing;

public_read: int y;

public: int y_offset;

public: int y_spacing;

void activate ();

void add_point (long x, long y);

any after ();

bool and ();

bool and (bool and);

void arc (long x1, long y1, long x2, long y2, long x3, long y3, long x4, long y4);

any background (any background);

void bezier (long x1, long y1, long cx1, long cy1, long cx2, long cy2, long x2, long y2);

void bezier (long x1, long y1, long cx1, long cy1, long cx2, long cy2, long x2, long y2, long segments);

bool border ();

bool border (bool border);

int bottom ();

int bottom_margin (int margin);

rect bounds ();

rect bounds (rect bounds);

any brush (any brush);

void by (long dx, long dy);

bool call_function_key (string key_name);

bool caps_lock ();

bool caps_lock (bool caps_lock);

bool caption ();

bool caption (bool caption);

bool capture ();

bool capture (bool capture);

bool caret_exists ();

bool caret_exists (bool b);

point caret_pos (int x, int y);

point caret_pos (point p);

point caret_size (int width, int height);

point caret_size (point p);

bool caret_visible ();

bool caret_visible (bool visible);

void center ();

void center_text_out (int x, int y, string s);

bool change_ex_style (unsigned long ex_style, bool set);

bool change_style (unsigned long style, bool set);

int char_spacing ();

int chars_per_line ();

bool child ();

bool child (bool child);

void chord (long x1, long y1, long x2, long y2, long sx, long sy, long ex, long ey);

void circle (any r);

void circle (any x, any y, any r);

int client_x (int x);

int client_y (int y);

void clone_window ();

bool close ();

void compute_transform ();

void create ();

void create_child_window (window child);

unsigned create_main (int type, any parent, string title);

void create_window ();

any cursor (any cursor);

void data_window (any x1, any y1, any x2, any y2);

unsigned dc ();

any default_control_background ();

void destroy ();

bool dialog_frame ();

bool dialog_frame (bool dialog_frame);

bool disable ();

void done_drawing ();

void done_with_text ();

void draw_data (int x_min, int y_min, int x_max, int y_max);

void draw_icon (icon icon, long x, long y); Draw an icon

void east (); Set the drawing direction (heading) to "east" (90 degrees)

void ellipse (long x1, long y1, long x2, long y2); Draw an ellipse

bool enable ();

bool enabled ();

bool enabled (bool enabled);

string error_status (string msg);

unsigned long ex_style (unsigned long ex_style);

void fast_caret_pos (int x, int y);

void fast_text_out (long x, long y, string s);

void fill ();

window find_id (int id);

void finish_create ();

long first_column (long column);

long first_row (long row);

any font (any font);

array font_families ();

void force_close ();

void free ();

void free_temp_gdi_objects ();

any get (int i);

any get_default_window_background ();

void go (any d);

void got_focus ();

bool h_scroll ();

bool h_scroll (bool h_scroll);

void h_scroll_pos (long pos);

void h_scroll_range (long min, long max);

bool handle_char (int key, unsigned long lParam);

void handle_command_message (unsigned wParam, unsigned long lParam);

void handle_h_scroll (any w, int code, string prefix, int pos);

void handle_key_down (int hWnd, int key, bool ctrl, bool alt, bool shift, bool extended);

long handle_message (unsigned hWnd, unsigned message, unsigned wParam, long lParam);

void handle_paint_message ();

unsigned long handle_sys_char (unsigned wParam);

unsigned long handle_sys_keydown (unsigned wParam);

bool handle_v_scroll (any w, int code, string prefix, int pos);

bool have_dc ();

bool have_focus ();

bool have_focus (bool have_focus);

void head (long h);

long heading ();

int height ();

int height (int height);

void hide ();

void home ();

icon icon (icon icon);

bool is_edit_key (int wParam);

bool is_visible ();

int left ();

int left_margin (int margin);

void line (any x1, any y1, any x2, any y2);

int line_spacing ();

int lines_per_page ();

void lost_focus ();

long max_column (long column);

long max_row (long row);

bool maximize ();

bool maximize (bool maximize);

bool maximize_box ();

bool maximize_box (bool maximize_box);

bool maximized ();

void mdi_create (frame_window fw, string title);

menu mdi_menu (menu menu);

menu menu (menu menu);

void menu_selected (menu m);

long min_column (long column);

long min_row (long row);

bool minimize ();

bool minimize (bool minimize);

bool minimize_box ();

bool minimize_box (bool minimize_box);

bool minimized ();

bool modal ();

bool modal (bool modal);

void move (long d);

void move (long dx, long dy);

void move_to (long x, long y);

void move_window ();

void moved (int x, int y);

icon new_icon ();

void new_path ();

status_line new_position_status_line ();

status_line new_status_line ();

long next_column ();

long next_column (long next_column);

long next_row ();

long next_row (long next_row);

void next_x_y (long x, long y);

void north ();

bool num_lock ();

bool num_lock (bool num_lock);

bool or ();

bool or (bool or);

void palette_changed ();

any parent (any parent);

any pen (any pen);

void pie_slice (long r, long angle);

void pie_slice (long r, long angle, any distance);

void pie_slice (long x1, long y1, long x2, long y2, long sx, long sy, long ex, long ey);

void polygon (array points);

bool popup ();

bool popup (bool popup);

void position_size (int x, int y, int width, int height);

string position_status ();

string position_status (string status);

bool position_status_enabled (bool status_line_enabled);

void prepare_for_text ();

void prepare_to_draw ();

any put (int i, window v);

window put_to (any v);

memory put_window_bounds (int x1, int y1, int x2, int y2);

void ready ();

void recompute_heading (long dx, long dy);

void rectangle (long x1, long y1, long x2, long y2);

void refresh ();

void refresh (int x1, int y1, int x2, int y2);

void release_dc (unsigned dc);

void resized (int width, int height);

int right (); The X coordinate of the right edge of the client area
. Ignoring the right margin area.

int right_margin (int margin); Set the width of the right margin
. Returns the new right margin.

void round_rectangle (long x1, long y1, long x2, long y2, long dx, long dy); Draw a rectangle with rounded corners.
. The first two arguments are coordinates of the upper left corner
. of the rectangle, the next two are the coordinates of the lower
. right corner, the fifth argument is the horizontal radius of the
. rounded corner, and the sixth argument is the vertical radius of
. the corner.

int screen_x (int x); Converts a client X coordinate to a screen coordinate.
. See also: screen_y, client_x, and client_y

int screen_y (int y); Converts a client Y coordinate to a screen coordinate.
. See also: screen_x, client_x, and client_y

void scroll (int dx, int dy);

void scroll (int x1, int y1, int x2, int y2, int dx, int dy);

bool scroll_lock ();

bool scroll_lock (bool scroll_lock);

void set_cursor (int x, int y);

void set_cursor (point p);

void set_first_column (int column);

void set_first_row (int row);

void set_font ();

bool set_toggle_key_state (int key_code, bool state);

void setup_brush ();

void setup_font ();

void setup_pen ();

void show ();

void show_icon ();

void show_maximized ();

void show_window (int code);

int size ();

void south ();

string status ();

string status (string status);

bool status_line_enabled (bool status_line_enabled);

unsigned long style (unsigned long style);

bool system_menu ();

bool system_menu (bool system_menu);

string text ();

string text (string text);

long text_height (string s);

void text_out (long x, long y, string s);

void text_out (string s);

long text_width (string s);

bool thick_frame ();

bool thick_frame (bool thick_frame);

string title (string path);

string title_file (string path);

void to (long x, long y);

int top ();

int top_margin (int margin);

bool top_most ();

bool top_most (bool top_most);

int total_height ();

int total_width ();

int transform_x (real x, real y);

int transform_y (real x, real y);

string trim_to_fit (string s, int width);

void turn (long angle);

void turn (long angle, long radius);

void turn_left ();

void turn_right ();

any under ();

any under (control c2);

void update_caret ();

void update_margins ();

void update_status_line_position ();

bool v_scroll ();

bool v_scroll (bool v_scroll);

void v_scroll_pos (long pos);

void v_scroll_range (long min, long max);

bool visible ();

void west ();

int width ();

int width (int width);

void window ();

void window (string text);

string window_mode ();

void WINDOWS_pos_changed (unsigned long window_pos); Callback for when WM_WINDOWPOSCHANGED message is received from Windows
. This is not normally needed by an application.

void WINDOWS_pos_changing (unsigned long window_pos); Callback for when WM_WINDOWPOSCHANGING message is received from Windows
. This is not normally needed by an application.

int x (int x);

int x_max ();

bool xor ();

bool xor (bool xor);

int y (int y);

int y_max ();

window_menu

window_menu: menu;
Standard MDI "Window" menu
Source: FRAMEWIN.L


protected: window w;

void arrange_icons ();

void cascade ();

void new1 ();

void tile ();

void window_menu (window w);

void window_menu (window w, string title);

John Elkins (john@vermontdatabase.com) 8-Oct-2000