home *** CD-ROM | disk | FTP | other *** search
- TV TOOL BOX - Version 1.05 09/05/92
- ------------------------------------------------------------------------------
- OVERVIEW -
-
- The TV Tool Box was created to fill a few holes in Turbo Vision for Turbo
- Pascal. TV Tool Box includes formatted data entry with input masks, scrolling
- data entry dialogs, improved "Windows" like file dialog, versatile control
- for data entry including required fields, field locking and post-edit
- control, check mark menus, enhancements to TApplication, some handy string
- routines, an interactive menu designer and more.
-
- TV Tool Box is distributed as Shareware, it is not free. If you use TV Tool
- Box you must register it. With your paid registration you will receive the
- next version with full source code (all units and the menu designer) and
- printed documentation. Registration is $40.00 (North America) and $50.00
- (Outside North America). Please make all funds payable in U.S. dollars. Site
- licenses and multiple copy discounts are available. Remember a registered
- copy is required for each programmer using TV Tool Box.
-
- Please contact me with any comments, suggestions, problems, bugs, or
- questions.
-
- Richard Hansen
- PO Box 18571
- Saint Paul, MN 55118-0571 USA
-
- CompuServe ID 70242,3367
-
-
- TV Tool Box is a work in progress, it is by no means complete. I have
- uploaded this first version so that other programmers can benefit from it
- right now. I hope to include many more routines and objects in future
- versions. Some ideas I have are more data entry types such as date, iconized
- windows, virtual list boxes, list boxes in windows, and multiple pick list
- boxes. What happens in any future version is partly up to you. If you have
- any ideas for new TV extensions please let me know and I will try to include
- them. FUTURE VERSIONS WILL BE AVAILABLE TO REGISTERED USERS FOR A NOMINAL
- FEE OF JUST A FEW DOLLARS.
-
-
- ------------------------------------------------------------------------------
- THE DEMO -
-
- The file DEMO.PAS is the main demo for TV Tool Box. This demo shows most of
- the features of TV Tool Box. Choose the [Test] option off the main menu bar
- to test them for yourself. Select [Data Entry] to test some new data entry
- features. TV Tool Box supports formatted data entry and data validation
- using programmer supplied entry mask strings. You can include literals, such
- as '(' or '-' in your masks, that cannot be typed over by your users. The
- data entry features also include, field locking, required fields, hidden
- password fields, justification, trimming, alternate padding chars, and post
- edit routines for data validation or special processing.
-
- Check out the Tool Bar and the 3D buttons. These are the first versions and
- are not guaranteed to work in all situations (so use at your own risk). But,
- they are great if you want a sharper look. The next release of TV Tool Box
- will include 3D dialog boxes, and input fields, and maybe other 3D controls.
-
- Select [Check Marks] and try out the check mark enhancement for menus. If you
- have need of a ASCII/HEX editor, like those used in disk utilities, you've got
- one. Select [Ascii/Hex Editor] to check it out.
-
- If you've ever wanted a simple way to display some text without creating a
- dialog box or window and a specialized Draw method, try the [Text Window]
- option. This will display a TTextWindow object. With TTextWindow you just
- create it and use the Write method to display string, almost like write to
- the screen without Turbo Vision.
-
- If you select [Message Dialog], you can check out a replacement for the
- MessageBox procedure. A TMessageDialog will automatically size itself for the
- number and length of the lines of text you insert into it.
-
- On the [Setup] menu, you can setup a neat idea I stole from my favorite
- programer's text editor "Multi-Edit" from American Cybernetics. If you check
- the option, the mouse cursor will be turned off whenever the keyboard is
- used. The mouse cursor is restored whenever the mouse is moved or a mouse
- button is pressed.
-
- Included in TV Tool Box is a descendant of TDialog called TRunDialog. A
- TRunDialog is for creating progress display dialogs for things like printing,
- copying files, etc. TRunDialog has easy an method for implementing pause,
- continue, and cancel. There are two ready made descendants of TRunDialog,
- TPercentDialog and TPrintDialog. TPercentDialog displays the percentage
- completion and a progress bar. TPrintDialog is a skeleton for a printing
- dialog. Select [Progress Dialog] or [Print Dialog] to try them out.
-
- If you ever wanted a little fancier look in your TV apps, then check out the
- 3D controls. The 3D controls include a vertical or horizontal tool bar
- (almost like windows!).
-
- I have added a couple enhancements to TWindows. TNewWindows can be minimized,
- using the "" icon in the upper right corner. If you hit Alt-Minus, or press
- the right mouse button on the "close" icon, a window control menu will popup.
-
- Be sure to check out the *.INT files for a more complete view of what is
- included.
-
- ------------------------------------------------------------------------------
- USING TV TOOL BOX -
-
- TV Tool Box is broken into several units. The unit names generally correspond
- with their associated Turbo Vision units. The source code has been included
- to avoid compilation problems. Don't bother trying to read it though, it has
- been pretty well condensed (perhaps squashed describes it better) and is very
- hard to read. THE FULL SOURCE CODE IS INCLUDED WITH THE REGISTERED VERSION.
-
- To get all the benefits of TV Tool Box you must have the Turbo Pascal Runtime
- Library and thus the Turbo Vision source. If you don't have the RTL, you
- should get it as soon as possible. The RTL is the best tool you can buy to
- aid your Turbo Vision programming efforts. I avoided changes to the original
- TV source as much as possible. However, a couple things just could not be
- done without changes. There are three (3) changes needed and they are listed
- in the file CHANGES.TXT. Two are in STDDLG.PAS (you have this source) and one
- is to VIEWS.PAS (this comes with the RTL).
-
- Don't worry if you can't make these changes. They only affect the file dialog
- and post edit processing for the new data entry objects. You will have all
- the rest of TV Tool Box available to you. If you don't have the RTL, I will
- be happy to include the compiled Turbo Vision TPU's with your registered
- package. Just make a note on the order form and BE SURE TO INCLUDE THE DATE
- OF YOUR VERSION OF TURBO PASCAL (I can't send the right version of the TPU's
- without the date).
-
- IMPORTANT NOTE : If you recompile Demo.pas, the post-edit and file dialog
- will not work the same as the DEMO.EXE that was shipped with TV Tool Box.
- They will not work until you make the necessary TV source code changes, and
- turn on the compiler directives in TVDEFS.INC.
-
- When you compile you should use the X+ and V- compiler directives.
-
- Good luck and happy programming.
-
- ------------------------------------------------------------------------------
- FILES THAT SHOULD BE HERE -
-
- READ.ME This file, why I include it in this list I don't
- know. Since you are reading this it must be here.
- ORDER.FRM The most important file of all.
- DEMO.EXE The main demo.
- DEMO.PAS Source code for the TV.EXE demo program.
- SCROLL.EXE Scrolling dialog, and data entry window demo.
- SCROLL.PAS Source code for the SCROLL.EXE demo program.
- MENU.EXE Menu designer.
- MENU.DOC Documentation for the menu designer.
- MTEST.PAS Shell program for testing menus created with the menu
- designer.
- DEMO.MNU Example menu or the menu designer.
- DEMO1.MNU Another example menu.
- TVDEFS.INC Some defs that change the compilation.
- TVKEYS.PAS Keyboard defs for control+key combinations.
- TVCONST.PAS Global constants.
- TVTYPE.PAS Global types.
- TVSTRING.PAS Handy string routines.
- TVINPUT.PAS Data entry extensions.
- TVVIEWS.PAS View extensions.
- TVDIALOG.PAS Dialog extensions.
- TVCOLL.PAS Collection extensions.
- TVAPP.PAS Application extensions.
- TVMENUS.PAS Menu extensions.
- TVSCROLL.PAS Scroll dialog boxes.
- TVINPUT.INT Interface for TVINPUT.PAS
- TVVIEWS.INT Interface for TVVIEWS.PAS
- TVDIALOG.INT Interface for TVDIALOG.PAS
- TVCOLL.INT Interface for TVCOLL.PAS
- TVAPP.INT Interface for TVAPP.PAS
- TVMENUS.INT Interface for TVMENUS.PAS
- TVSCROLL.INT Interface for TVSCROLL.PAS
- TVTYPE.INT Interface for TVTYPE.PAS
-
- CHANGES.TXT List of changes necessary to TV source code.
-
- ------------------------------------------------------------------------------
- HISTORY -
-
- 09/05/92 Released version 1.0
- 09/15/92 First beta of 3D controls
- 10/07/92 Released version 1.05
- Added 3d controls.
- Added iconizable windows.
- Eliminated most RTL source changes.
-
- ------------------------------------------------------------------------------
- KNOWN PROBLEMS (FEATURES) -
-
- Incremental search in the file dialog does not work for drives.
-
- The last required field or field with a post edit routine must have
- at least one unlocked field after it in the dialog.
-
- Load and Store methods have not yet been implemented.