 Comments on the sample code in BrowEdit.prg                    2/9/2008


 BorwEdit.prg consists of those code sections from R. Seiler's TQuery class 
 enabling the user to run a generic browse form a browse format created at 
 runtime (though the browse format creation code is not included here), with 
 option to use split screen display of browse and record edit.  This code uses
 11/2005 versions of 32 bit Tcbrowse, Tccolumn and Twbrowse developed by 
 Luis Krause Mantilla and somewhat modified by Seiler. Luis's recent version of
 just Tcbrowse.prg contains over 183,000 bytes compared to the standard 
 version's 48,000 bytes.

 This code illustrates many of the concepts inherent in Tcbrowse (see added
 example at bottom for how to reorder a browse by doubleclicking on a column 
 header). However being just an extract, this code example is incomplete.

 Other prg's involved: DbfEdit.prg, Netopen.prg, Netlock.prg, (included in this
                       zip package) and of course the expanded versions of 
                       TCbrowse.prg, TCcolumn.prg, Wbrowse, plus Splitter.prg
 Also need: MyLib.ch

 In this example, if only a browse is used, then the file is accessed
 directly by the browse.  But if the split browse/record-edit version is 
 used, then the file's data is loaded into an array for handling by the
 two linked browses (one browse displays multiple records, the other
 displays a browse of the fields in a single record).

 Note: The entire TQuery class includes comprehensive design tools for creating
 reports and browses and record edit dialogs at runtime and then saving those 
 designs for reuse in "xxx.rpt" or "xxx.brw" format files. TQuery contains 
 over 10,000 lines of code. Most of its development has been within the context
 of American political election campaign managment software.  This software
 has been particularly useful for helping "underdog" candidates analyze prior
 election data and demographics in order to develop and implement winning
 strategies for getting elected.

 Being an incomplete exerpt, this code is good only for conceptual use. And 
 for that purpose it helps if one is a little crazy.

 Files included in BrowEdit.zip:

       BrowEdit.prg  (examples form TQuery, so incomplete - won't compile)

       BrowEdit.rc  - a few screens used

       DbfEdit.prg

       Netopen. prg

       Netlock.prg

       BrowsEd1.jpg  - a screenshot of the splitter generic browse

       BrowsEd2.jpg  - a screenshot another splitter browse with folders

       Readme.txt


                  -   Roger Seiler - roger@leadersoft.com

