CXLDEMO.HLP CXL is Copyright 1987-1990 by Mike Smedley This file contains all the help text used in the CXL demonstration program. *B 1,Global Help C X L The C Programmer's Extended Function Library by Mike Smedley Copyright (c) 1987-1990 All Rights Reserved Press [F1] at any time for context-sensitive help. Press [Alt-X] at any time to exit the demo. Press [Esc] to exit this help screen. *E *B 2,Windowing Windowing --------- This demo demonstrates various miscellaneous windowing functions such as text scrolling, resizing, moving, adding a title, changing box type, changing window attributes, and more. Press [Esc] to exit Help. *E *B 3,Menuing Menuing ------- This demo will demonstrate the use of CXL's menuing system in a sample of what could be used as a shell for a text editing program. Press [Esc] to exit Help. *E *B 4,List Picking List Picking ------------ This demo will show you how you can use CXL's list picking functions in your application. You will also see CXL's file picker in action. This file picker is similar to the ones found in the Turbo C and QuickC environments. Press [Esc] to exit Help. *E *B 5,StrPick String Picker ------------- You are currently viewing a demo of wpickstr(), CXL's string picker function. This function accepts an array of strings and opens up a window so you can use the selection bar to move between them and select one. Full scrolling and mouse support is provided. Press [Esc] to exit Help. *E *B 6,FilePick File Picker ----------- You are currently viewing a demo of wpickfile(), CXL's file picker function. This function accepts a wildcarded filespec and opens up a window with all matching files and directories. You can use the selection bar to move between them and select one. You can change to a different directory simply by selecting it. Full scrolling and mouse support is provided. Press [Esc] to exit Help. *E *B 7,Data Entry Data Entry ---------- This demo will show you how you can use CXL's multi-field input functions to process forms. You will be shown the use of both the initial entry, and the updating of input fields. You will also be shown a few examples of CXL's flexible single-line input function. Press [Esc] to exit Help. *E *B 8,Editing Keys Cursor Movement --------------- Arrow keys - cursor movement Ctrl-LeftArrow - word left Ctrl-RightArrow - word right Home - beginning of field End - end of line/field Ctrl-Home - beginning of first field Ctrl-End - end of last field Tab - next field Shift-Tab - previous field *P Inserting and Deleting ---------------------- Ins - toggle insert mode Del - delete character at cursor BackSpace - delete character left Ctrl-BackSpace - delete word left Ctrl-T - delete word right Ctrl-U - delete to end of field Ctrl-Y - delete to end of form *P Other Editing Keys ------------------ Enter - process current field Ctrl-Enter - process all fields Ctrl-R - restore field Esc - abort data entry Also see: ^Numeric Fields^ *E *B 9,Date Date ---- Enter today's date in MM/DD/YY format. Also see: ^Editing Keys^ *E *B 10,First Name First Name ---------- Enter your first name. Also see: ^Initial^ ^Last Name^ ^Editing Keys^ *E *B 11,Initial Initial ------- Enter your middle initial, or leave blank if you don't have one. Also see: ^First Name^ ^Last Name^ ^Editing Keys^ *E *B 12,Last Name Last Name --------- Enter your last name. Also see: ^First Name^ ^Initial^ ^Editing Keys^ *E *B 13,City City ---- Enter the name of the city in which you currently live. Also see: ^State^ ^Zip Code^ ^Editing Keys^ *E *B 14,State State ----- Enter the 2-letter abbreviation for your state. Also see: ^City^ ^Zip Code^ ^Editing Keys^ *E *B 15,Zip Code Zip Code -------- Enter your 5 or 9-digit Zip code. Also see: ^City^ ^State^ ^Editing Keys^ *E *B 16,Compiler Select Compiler --------------- Use the selection bar to move around then press [Enter] on the compiler of your choice. You can also select a compiler by pressing its highlighted letter. Also see: ^Editing Keys^ *E *B 17,Amount Amount ------ Enter amount of invoice in dollars and cents. Also see: ^Numeric Fields^ ^Editing Keys^ *E *B 18,Numeric Fields Numeric Fields -------------- Editing numeric fields is different than normal text fields. Digits before the decimal point are right justified and space filled. Digits after the decimal point are left justified and zero filled. Pressing [Enter] will process the whole numeric field and pressing the decimal point will process only the digits before the decimal point. Also see: ^Editing Keys^ *E *B 19,Pulldown Example Editor Interface ------------------------ This is an example of an editor-type interface which would use a pull-down menu system. Valid movement/selection keys are: Arrow Keys - movement of selection bar [Enter] - selects menu item under bar [Esc] - backup 1 menu You may also select a menu item by pressing its highlighted letter or by using a mouse. *E *B 20,File File Menu --------- This pull-down menu contains various file and system commands. ^Load^ ^Save^ ^Rename^ ^New^ ^Directory^ ^Execute^ ^OS Shell^ ^Quit^ *E *B 21,Editing Edit Menu --------- This pull-down menu contains various editing commands. *E *B 22,Load Load ---- This is used to load a file into the editor. Also see: ^Save^ ^Rename^ *E *B 23,Save Save ---- This is used to save current editing file. Also see: ^Load^ ^Rename^ *E *B 24,Rename Rename ------ This is used to rename current editing file to another valid file name. Also see: ^Load^ ^Save^ *E *B 25,New New --- This is used to clear the editor's workspace and assign a new file name to it. Also see: ^Quit^ *E *B 26,Directory Directory --------- This will prompt you for a file specification and display a list of all files matching it. *E *B 27,Execute Execute ------- This will prompt you for a DOS command, and then will execute it. Also see: ^OS Shell^ *E *B 28,OS Shell OS Shell -------- This will allow you to exit to DOS. When you are finished in DOS, type 'EXIT' to return to the demo. Also see: ^Execute^ *E *B 29,Quit Quit ---- This selection allows you to exit the pull-down portion of the CXL demonstration program. Also see: ^New^ *E *B 30,Scroll Window Scrolling ---------------- This demo shows you how CXL's window TTY output functions allowing scrolling within the window. Also demonstrated is CXL's ANSI-like Escape code sequence capability. It is being used to change the color of the text as it scrolls. Press [Esc] to exit Help. *E *B 31,ChgAttr Change Window Attribute ----------------------- This demo shows you how wchgattr() is able to manipulate the colors of the window's border and the window itself along with text inside. Press [Esc] to exit Help. *E *B 32,ChgBord Change Window Border -------------------- This demo shows you how wborder() is able to modify the window border of the active window. It can change to different border styles, or no border at all, which increases the window's effective area. Press [Esc] to exit Help. *E *B 33,WinTitle Window Title ------------ The wtitle() function gives the active window a title. It can also change/delete the title as well. The window title can also be used as an alternate method of identifying a window. Press [Esc] to exit Help. *E *B 34,Resize Resize Window ------------- This demo shows you how the wsize() function can be used to resize the active window by adjusting its lower right-hand corner's screen coordinates. Press [Esc] to exit Help. *E *B 35,TextLine Text Line Drawing ----------------- The whline() and wvline() functions are used to "draw" horizontal and vertical text lines. If they intersect any lines having the same box type, an appropriate intersection will be made. You are also able to connect with window borders. Press [Esc] to exit Help. *E *B 36,WinMove Move Window ----------- This demo shows how the wmove() function is used to relocate the active window to a new row,col coordinate on the screen. Press [Esc] to exit Help. *E *B 37,WinHide Hide Window ----------- The whide() and wunhide() functions are used for hiding and unhiding windows. Press [Esc] to exit Help. *E *B 38,Activate Activate Window --------------- This demo will show you how wactiv() activates windows. The activation process brings the specified window to the front, making it available for use to many windowing functions which require the window to be active. Press [Esc] to exit Help. *E *B 39,WinCopy Copy Window ----------- The wcopy() function makes a copy of the active window by wopen()-ing a new window and copying the contents of the old window to it. Press [Esc] to exit Help. *E