home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / NBBASE.ZIP / NBBASE.DOC < prev    next >
Text File  |  1993-02-23  |  2KB  |  41 lines

  1. NBBASE.EXE is a sample program that demonstrates setting up a notebook control.
  2. It creates a frame/client window and a notebook control is created as a child
  3. of the client window, similar to how the Settings notebook does it.
  4.  
  5. The Notebook created by this program has pages with both MAJOR and MINOR tabs.
  6.  
  7. All the Notebook pages are associated with dialog boxes. Those dialog boxes are
  8. not loaded and associated with the page until the user switches to the page that
  9. will contain the dialog. This is done because I believe it to be the fastest
  10. way to get the Notebook loaded.
  11.  
  12. A Notebook control is actually a rather simple control. Think of it as just a
  13. way to stack up all your dialogs into a neat pile. If you have ever had an
  14. application that needed the user to go thru more than one dialog to accomplish
  15. something, you will appreciate that a notebook is the way to go. You can
  16. picture all those dialogs being scattered about on the screen. The Notebook's
  17. sole purpose is to take those dialogs and organize them so the user can input
  18. all their information in an organized fashion.
  19.  
  20. The Notebook *does* bring with it some issues. The main one that I see is how
  21. to validate the fields in each dialog - when the user tabs out of the field,
  22. when the user switches notebook pages or when the user closes the notebook. In
  23. my notebooks I usually use a combination of the 3.
  24.  
  25. Hopefully NBBASE will be of some use to beginning notebook programmers.
  26.  
  27. ===============================================================================
  28. GLOBAL HISTORY (KEPT SINCE 1/31/93 - Before that, kept on a per-module basis)
  29.  
  30. 2-22-93 - Size the notebook/frame window based on the largest dialog box.
  31.  
  32. ===============================================================================
  33.  
  34. Rick Fishman
  35. Code Blazers, Inc.
  36. 4113 Apricot
  37. Irvine, CA 92720
  38.  
  39. CIS ID: 72251,750
  40.  
  41.