TVision homepage / Turbo Vision resources

Turbo Vision resources

This is a collection of all Turbo Vision C++ sources I found on the net; there are some Borland Pascal programs too. I preferred to copy these files instead of making links because I believe these links will get lost quickly. Additions and suggestions will be greatly appreciated; send complete references to sergio@sigala.it.

These are quick links to the sections below:


Borland site

These files were dowloaded from Borland's official Turbo Vision ftp site at Borland or Imprise.

  1. color1.zip: modifying the desktop pattern
  2. desklogo.zip: drawing a desktop background
  3. dlgdraw.zip: example of changing the text in a dialog box
  4. dlgmode.zip: example of coding modeless vs. modal dialog boxes
  5. dlgrez.zip: demonstrates creating a user-defined resource for Turbo Vision
  6. dskstr.zip: examples of streaming
  7. dumb.zip: example of printing to stderr
  8. emodal.zip: using a button end the modal state
  9. helpde.zip: help demo
  10. lbox.zip: provides a stepwise progession of listbox examples
  11. listbox.zip: this demonstrates creating a simple list box in a dialog
  12. menunest.zip: demonstrates creating nested menus using TSubMenu
  13. menuz.zip: demonstrates creating menus using overloaded operator+
  14. mess1.zip: example of message passing
  15. msgs.zip: message handling example
  16. numinp.zip: example of specializing TInputLine to accept numeric input only
  17. ovrlay.zip: building Turbo Vision library for DOS overlays
  18. persist.zip: functions required for creating a user defined class for streaming
  19. popup1.zip: demonstrates creating a simple pop-up menu using class TMenuBox
  20. popupx.zip: also demonstrates creating a simple pop-up menu using class TMenuBox
  21. radio.zip: an example of using multiple radio buttons
  22. resource.zip: creating your own class for writing to a resource file
  23. statbo.zip: example based on the CALC.CPP code in the Turbo Vision demos directory
  24. strmdlg.zip: streaming a User Defined Dialog
  25. tback.zip: example of using TMemo and overriding a draw member function of TBackground
  26. testhelp.zip: this sample code demonstrates creating context sensitive help
  27. tlbh.zip: creating a TListBox
  28. tvalid.zip: describes a method of adding control validation to TV
  29. tvalt.zip: discusses using BIOS and graphics methods for displaying Turbo Vision
  30. tvexit.zip: this program is an example of controlling the dos screen upon exit
  31. tvfix.zip: known problems with Turbo Vision, and code modification fixes
  32. tvmemo.zip: TMemo class example
  33. tvsample.zip: simple Turbo Vision File Editor
  34. tvserial.zip: serial Communications Example
  35. txtdlg.zip: changing static text in a dialog box
  36. tv.zip: Borland's public release of Turbo Vision 2.0

Dialogs section

  1. dyntxt.zip: J.H. Price: dynamic text demonstration
  2. inplis.zip: edit a TListBox item using a TInputLine
  3. listvi.zip: control multiple lists with a common scrollbar
  4. makerez.zip: sample code for making resource file
  5. mibx20.zip: message input box replacement version 2.00
  6. mibxb3.zip: message input box replacement, many features - BC3.1
  7. mibxb4.zip: message input box replacement, many features - BC4.x
  8. msgcls.zip: a status box like the IDE's and a message window
  9. multbo.zip: mark multiple items in a collection - toggle values
  10. passwd.zip: password dialog and simple algorithm
  11. pxlist.zip: how to implement pxeng with TListBox
  12. radio.zip: fix memory problem for large radio button cluster
  13. readrez.zip: sample code reading a resource file
  14. sdlg2.zip: scrolling dialog box - revision
  15. sdlg.zip: scrolling dialog box
  16. tcombo.zip: a streamable combo box
  17. textvu10.zip: TextVu, fast TextView replacement, Pascal src
  18. tinputs.zip: numeric dialog box inputs
  19. tpicture.zip: input line Paradox style
  20. tpictu.zip: derived from TInputLine, a PDX style picture class
  21. tvdbf.zip: scrollbar using long, not ushort - PXEngine demo
  22. tvinp101.zip: numeric input routines for TP 6.0 and Turbo Vision
  23. tvinp102.zip: numeric input routines for TP 6.0 and Turbo Vision
  24. tvmagic1.zip: create TurboVision dialog boxes w/hidden msgs
  25. user.zip: TListBox and PXEng example
  26. welstead.zip: examples of scientific data dialog box

Desktop section

  1. desklogo.zip: draw a background logo on desktop
  2. dskstr.zip: how to stream desktop objects to file
  3. dumb.zip: class for a dumb terminal object
  4. ezhint.zip: demonstrates how to put hints on the status line
  5. menunest.zip: example of cascading menu items
  6. msglin.zip: messages put to the status line
  7. scrnsave.zip: demonstrates a screen saver using ISR routines
  8. tkeys_h.zip: uses CTRL- key hotkey combinations
  9. togmnu.zip: allows toggled items to appear in a menu
  10. ttlbar.zip: adds a title bar above the menu bar
  11. ttywin.zip: TTY style class implementation
  12. tvcapp10.zip: color Image Desktops for TP7/TV w/src, F.Earnest
  13. tvhint.zip: demonstrates how to put hints on the status line
  14. tvicon.zip: example of making windows iconic
  15. uses.zip: all the defines for TV1.03 in one header file

Gadgets section

  1. clckhp16.zip: G. Rossi: cheap clock (BP)
  2. clkclk.zip: click alternates clock between 12 and 24 h time
  3. gagedemo.zip: implement gauges in a dialog box
  4. mdbeep.zip: TV2, beeps on mouse click outside specified area
  5. printq.zip: background printer object
  6. progba.zip: progress bar utility
  7. scrsav5.zip: ScreenSave routines for TurboVision, E.Groothuis
  8. tlang.zip: how to change language at runtime dynamically
  9. tprogb.zip: another progress bar utility, expands on tprogbar.zip
  10. wgsave11.zip: a simple TP 7.0 screen saver for Turbo Vision
  11. xpwndg.zip: exploding windows and dialog boxes

Graphics section

  1. getv12a.zip: graphics Engine for Turbo Vision (BP7 or TP7), J.Pelt
  2. gfx210.zip: excellent graphics library for Turbo Vision
  3. gfx310.zip: excellent graphics library for Turbo Vision
  4. gv4svga1.zip: Graphic Vision 1.01 (BP)
  5. gvision.zip: Graphic Vision 2.01 (BP)
  6. tvalt2tx.zip: alternate to tvalt.zip (originally tvalt2.txt)
  7. tvalt.zip: graphics library for Turbo Vision
  8. tvg121c.zip: make Borland TurboVision run in graphics (C++), C.Burke
  9. tvg121p.zip: make TurboVision run in graphics mode (PAS), C.Burke
  10. tvg121.zip: library of graphics routines

Database section

  1. csdude.zip: demo of TV and PXEngine, use with pmapp.zip to test
  2. dbfram.zip: TV and PXEngine sample classes for input/output
  3. tvdmx25.zip: Data Entry Platform for TurboVision, R.Beck

Editor section

  1. csh100.zip: colour syntax highlighter class
  2. editv16.zip: text file editor with Borland Turbo Vision src, J.Ferguson
  3. ned103.zip: enhanced TEditor object for TP7/TurboVision
  4. ned3.zip: enhanced TEditor object for TP7/TurboVision
  5. tvme30.zip: virtual memory text editor library for TV
  6. tvmemo.zip: memo implementation of THistory
  7. ve2tv1.zip: TEditor class replacement for TV 1.03
  8. ve2tv2.zip: TEditor class replacement for TV 2.0

Spreadsheet section

  1. ogrid110.zip: simple spreadsheet (BP)
  2. ogrid116.zip: simple spreadsheet (BP)
  3. spread.zip: spreadsheet like object

Graphical user interface section

  1. msgs.zip: message passing from a dialog to a window
  2. nutv151.zip: make Turbo Vision look like Norton, A.Zimarev
  3. pgc131.zip: common files for TV screen generator (real and prot. mode)
  4. pgr122.zip: TurboVision 2.0 screen generator (real mode)
  5. pgx131.zip: TurboVision 2.0 screen generator (protected mode)
  6. tde.zip: class extensions from TInputLine
  7. tdtxt1.zip: updates tde.zip
  8. tv2val.zip: validation classes for TV2.0
  9. tvalid2.zip: field validation object - later version
  10. tvalid.zip: field validation object
  11. txtxit.zip: print text to screen after exiting TV

Help section

  1. altf1.zip: allows user to go back one page in help window
  2. freehc.zip: free help compiler (BP)
  3. hsys12.zip: universal helpfile creating utility (BP)
  4. phelp.zip: complete freeware replacement for TV's help system
  5. sg.zip: Turbo Vision Study Guide - teaches TV
  6. testhelp.zip: demo of help system with commentary
  7. tvhc-1.0.2.tgz: S. Clushin: port of the Help Compiler

Library section

  1. extshr12.zip: provide support for all textmodes in Turbo Vision
  2. facetv.zip: advanced gadgets for TV; very interesting
  3. fsserial.zip: serial object for TurboVision (needs a FOSSIL driver)
  4. numinp2.zip: some numerical inputroutines for TurboVision (TP/BP)
  5. oodb.zip: object-oriented database for TP6.0/TurboVision
  6. resdmp11.zip: TV resource dumper for TP 7.0 and TV 2.0
  7. rhtool2.zip: TV 2.0 extensions, inputlines, 3D dialog boxes, R.Hansen
  8. stream16.zip: many stream additions for TP/BP, Duncan Murdoch
  9. tvtool17.zip: library of extensions and miscellaneous
  10. tvtoyc01.zip: improves TV help and VGA and VESA
  11. tvtoys04.zip: improves TV help and VGA and VESA
  12. tvtoys06.zip: improves TV help and VGA and VESA

Memory section

  1. dpmxcp.zip: DPMI Exception Handler Library for TV 2.0
  2. pmapp.zip: TV1.03 and BC3.1 in protected mode - complete sources
  3. tv-mc3.zip: how to use Memcheck with TV1.03
  4. tvmemchk.zip: memory checking utility for compiling
  5. tvspawn.zip: spawns programmes without destroying desktop

Palette section

  1. blakbl.zip: implements black text on a black background
  2. colord.zip: permits you to change the palette easily
  3. colorsel.zip: selector dialog for application colours
  4. savepal.zip: save and restore palette as resource
  5. tvcolr.zip: dynamic selection of palette
  6. tvpal.zip: palette routines for TV

Patch section

  1. b31tv2.zip: use TV2 with BC++ 3.1 (not protected mode)
  2. bc31tv2.zip: use TV2 with BC++ 3.1
  3. bc40tv.zip: use TV1.03 with BC++ 4.x
  4. farvt.zip: how to use far virtual tables in TV
  5. fredtv.zip: TV library from BI (not tested)
  6. gvision.zip: Oliver Suciu's port of TV to g++
  7. kvbugs.zip: a bug list with many fixes for TV and BC
  8. strmfx.zip: TObjstrm patch for the library
  9. sysfix.zip: sysint.asm patch for the library
  10. sysint.zip: sysint.asm patch for the library
  11. tv103inf.zip: differences between TV 1.0 and TV 1.03
  12. tv286_v6.zip: pharlap DOS extender patches for TV1.03
  13. tv286_v7.zip: similar to above but in diff format
  14. tv2bug.zip: the latest bug release for TV2 (1996.11.18), now with source
  15. tv2dll2.zip: further source code on converting TV to DLL
  16. tv2dll3.zip: further comment on converting TV to DLL
  17. tv2dll.zip: patches source code to convert TV to DLL
  18. tv2pat.exe: more patches for TV2.0
  19. tv_bc4.zip: how to patch TV1.03/BC4.x
  20. tvbugs.zip: the current bug list for TV 1.03 April 1996
  21. tvdprj.zip: project file for BC4.x
  22. tvfix.zip: older patches for TV1.03
  23. tv_may.zip: patches TV1.03 for PharLap DOS extender
  24. tvoprj.zip: BC4.x project for TV1.03 overlays
  25. tvpatch.zip: Portable 32 Bit TurboVision

TechInfo section

Borland International makes technical advice available through a series known as TechInfo, abbreviated as TInnnn. The series is not limited to TV and covers other topics relevant to Borland products. Each issue covers a specific topic.

All issues in this series mentioning Turbo Vision are listed here; these text files have been bundled together under the name techinfo.zip for an easy download.

  1. techinfo.zip: the Borland TechInfo series on TV
  2. TI1006: overlaying Turbo Vision (1992.08.12)
  3. TI1011: modal and Modeless Dialog Boxes using Turbo Vision (1992.08.12)
  4. TI1013: making string lists using Turbo Vision (1992.08.12)
  5. TI1020: understanding & Using Turbo Vision's Palette (1992.08.21)
  6. TI1021: how to extract text from a TEditor Buffer (1992.10.23)
  7. TI1022: initialization Order of Objects & Turbo Vision (1992.12.03)
  8. TI1023: persistent Objects using Turbo Vision (1992.12.23)
  9. TI1025: optimizing Screen Updates with Turbo Vision v3.1 (1992.12.23)
  10. TI1033: example of derived TListViewer for Turbo Vision (1992.12.23)
  11. TI1158: a modal dialog from a modal dialog with Turbo Vision (1992.11.11)
  12. TI1159: graying Buttons with Turbo Vision (1992.11.11)
  13. TI1160: dynamically modifying Turbo Vision menus (1992.12.03)
  14. TI1296: using Turbo Vision resource files (1993.10.25)
  15. TI1297: example of password entry using a TInputLine (1993.10.25)
  16. TI1369: changing the color of shadows in Turbo Vision (1993.10.25)
  17. TI1395: how to use HeapView in a Turbo Vision program (1993.10.25)
  18. TI1398: Tools.h++ from Rogue Wave conflicts with Turbo Vision (1993.10.25)
  19. TI1532: continuously updated message box in Turbo Vision (1992.12.03)
  20. TI1541: using cmReleasedFocus message to update a dialog box (1993.10.25)
  21. TI1549: switching between text video modes in Turbo Vision (1993.10.25)
  22. TI1552: Turbo Vision example of determining cursor position (1993.10.25)
  23. TI1553: how to override freeItem for Collections (1993.10.25)
  24. TI1554: context sensitive help example (Turbo Vision) (1993.08.30)
  25. TI1555: example of a restricted InputLine (Turbo Vision) (1993.10.25)
  26. TI1557: creating red error dialog boxes in Turbo Vision (1993.10.25)
  27. TI1558: saving/restoring the mouse state in Turbo Vision (1993.09.01)
  28. TI1701: Turbo Vision: streaming a user defined dialog (1993.10.07)
  29. TI1707: broadcast to close a Turbo Vision Modeless Dialog (1993.10.12)
  30. TI1708: using setData to initialize dialog box contents (1993.10.25)
  31. TI1712: Turbo Vision Dialog Box (Modal/Modeless) Examples (1993.10.25)
  32. TI1720: how to disable a button in Turbo Vision (1993.10.25)
  33. TI1730: inserting text into a Turbo Vision window (1993.10.21)
  34. TI1752: rebuilding Turbo Vision 1.0x with Borland C++ 4.0 (1994.01.13)
  35. TI1753: using Turbo Vision 1.0x with Borland C++ 4.0 (1994.01.13)
  36. TI1773: how to build DOS applications in Borland C++ 4.0 (1994.01.25)
  37. TI1778: common questions and answers about Borland C++ 4.0 (1994.02.17)

Utilities section

  1. dlgdsn22.zip: dialog design tool
  2. dlgdsn46.zip: dialog design tool
  3. mmagic.zip: generates menus
  4. ntest.zip: for TVDT users, TMemo shoehorned into TView
  5. ptg120b8.zip: TurboVision 2.0 screen generator, 1of3, prot mode
  6. ptg120co.zip: TurboVision 2.0 screen gen., 3of3, common files
  7. ptg120re.zip: TurboVision 2.0 screen generator, 2of3, real mode
  8. sz2.zip: Shazam II, Code + Resource Generator for TP, J.Stein
  9. tvhc11a.zip: TVHC2MSG + improved TVHC 1.1a for TurboVis
  10. tvinst10.zip: Turbo Vision Installer: install for beginners
  11. tvlife.zip: B. Ziegler: Turbo Vision life (BP)
  12. tvrw30db.zip: Turbo Vision resource workshop by Balazs Scheidler
  13. tvrw360b.zip: Turbo Vision resource workshop by Balazs Scheidler
  14. tvrw.zip: Turbo Vision resource workshop by Balazs Scheidler
  15. tvutil01.zip: TP/BP Turbo Vision Utilities Kit, A.Levitas
  16. tvwork.zip: TVWorkshop - generates C++ source
  17. vtv.zip: demonstration menu bar generator

Turbo Vision sources section

There are three official versions of Turbo Vision, made available by Borland in successive products:

TV 1.0
This version of the application frameworks came with BC++ 3.0. Only one file is available:
  1. tv10.zip: Turbo Vision 1.0 (16-bit) for BC++ 3.0
TV 1.03
This version came with BC++ 3.1. Its TV.H contains a #define _TV_VERSION which is not present in the earlier version. Related files are:
  1. tv103.zip: Turbo Vision 1.03 (16-bit) for BC++ 3.1
  2. tvisionb.zip: Turbo Vision 1.03 ported to DJGPP by Robert Hoehne, library and include files
  3. tvisions.zip: Turbo Vision 1.03 ported to DJGPP by Robert Hoehne, complete source files
  4. porttv.zip: Portable TV: TV1.03 for OS/2, WATCOM & DOS4GW, DJGPP
  5. help.zip: help compiler for Portable TV (optional, the original BC help compiler works as well)
  6. djio.zip: special djgpp iostreams for Portable TV, if you have problems with the original dj iostreams
  7. emxio.zip: special emx iostreams for Portable TV, if you have problems with the original emx iostreams
TV 2.0
This is part of the PowerPack for DOS designed for use with BC 4.x; its main characteristics are: These are all related files I found:
  1. tv.zip: Borland's public release of Turbo Vision 2.0
  2. tv2orig.zip: Turbo Vision 2.0 (16- and 32-bit) for BC++ 4.02+, unmodified sources
  3. tv2fixed.zip: Turbo Vision 2.0 with Eric Woodruff's bug fixes

Missing files section

When searching for useful sources, I found a large number of dead links; their related files are listed below. If you have one or more of these missing files, please send them to me.

  1. bobtv2.zip: radio button handleEvent routine
  2. cbcast.zip: radio button handleEvent routine
  3. extdlg.zip: extended dialog class, ENTER works like TAB
  4. fields.zip: InputField class for dialog boxes
  5. optfld.zip: change appearance of output fields with setData()
  6. option.zip: TCollection for a picklist similar to THistory
  7. pass.zip: password inputline code snippet
  8. rezhint1.zip: hints for using Turbo Vision resource files
  9. scroldlg.zip: TV code from 4/94 CUJ article by S. Welstead
  10. tstrin.zip: a string inputline class, with demo programme
  11. tvmodal.zip: creating a second modal dialog from within a first
  12. verify.zip: modified TInputLine that parses input as it is entered
  13. check.zip: put check boxes in a TSubMenu
  14. dosshell.zip: shelling to DOS
  15. joet.zip: array implementation of menu items
  16. markmenu.zip: replaces first character of menuline name with mark character
  17. menumod1.zip: menu play and a scrolling menu bar, very interesting
  18. nmenu.zip: example of TV menu nesting
  19. prnstr15.zip:Brian Maxwell's print stream classes, supports many printers
  20. prnstr.zip: Patrick Reilly's original printer stream class
  21. rvision.zip: Roger Nelson's extended gadgets library, use pkunzip -d
  22. rvisionc.lzh: same as above, uses lha.exe to unpack
  23. strres.zip: a string class for TV
  24. ttblvu.zip: simple paradox table viewer for TV
  25. tvmous.zip: some mouse routines that run under Turbo Vision
  26. tvtimer.zip: an About Box with a timer
  27. vlistbox.zip: virtual listbox demo
  28. vlistb.zip: a listbox viewer
  29. tvwrdwrp.zip: earlier version of wrdwrp.zip that includes src
  30. wrdwrp.zip: modules necessary to implement a word wrapping editor
  31. writew.zip: creates a spreadsheet in .WK1 format
  32. helpdemo.zip: help dialog boxes with hints on the statusline
  33. tvnotes.zip: notes on learning TV
  34. tvnotewp.zip: same as above, in Word Perfect format
  35. tcapt.zip: TStreamView class
  36. tfield.zip: TField and TDate class library
  37. tfldex.zip: example programme using TField
  38. thandl20.zip: hardware error handler library for TV
  39. tvpak.zip: demo of a class library to extend the functionality of TV
  40. memchktv.zip: how to add memory checking to the library
  41. tvcolr2.zip: revision of tvcolr.zip
  42. exmake.zip: Example makefile for Turbo Vision experiments
  43. gtv2_src.zip: Magic Vision v2.0, graphics mode of TV
  44. rhtvb.zip: Robert Hoehne's port of TV to g++, header changes and lib
  45. rhtvs.zip: Robert Hoehne's port of TV to g++, source changes
  46. tn2501.zip: Problems building DPMI 16-bit TVDT 2.5 apps with BTVDT.LIB
  47. tv4gcc.tgz: TurboVision for ICC, BCC and GCC/EMX, port by Alain Borel
  48. tvrw350.zip: Turbo Vision resource workshop by Balazs Scheidler

TVision homepage / Turbo Vision resources