home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / PROGRAMM / BUILDER.ZIP / MSTYLE1.BLD < prev    next >
Text File  |  1992-11-17  |  1KB  |  42 lines

  1. ' MSTYLE1.BLD
  2. '
  3. ' Changing the look and feel of a menu.
  4. '
  5. ' To use it, enter this at the DOS command line:
  6. '
  7. '   MSTYLE1
  8. '
  9. ' Menu item text is black and background color of items is white.
  10. ' Hotkey text is white on a black background.
  11. Menu Style Black, Cyan, Yellow, Cyan, 15, 4, Black, Cyan, 1,0,2,1
  12. '          |      |      |      |      |  |    |      |
  13. '          |      |      |      |      |  |    |      Box background
  14. '          |      |      |      |      |  |    Box text
  15. '          |      |      |      |      |  Highlight background
  16. '          |      |      |      |      Highlight text
  17. '          |      |      |      Hotkey background
  18. '          |      |      Hotkey text
  19. '          |      Item background
  20. '          Item text
  21.  
  22. ' The 1, 0, 2, 1 means:
  23. '     |  |  |  |
  24. '     |  |  |  1=Use shadow, 0=No shadow
  25. '     |  |  2=double box style, 1=single box
  26. '     |  1=Use first key, 0=& required
  27. '     1=Immediate trigger, 0=wait for {Enter}
  28. '
  29. While Not Canceled
  30.   cls black on blue
  31.   DropDown "" @ 10, 30
  32.     Item "Stat&us"
  33.       say @ 24, 30 "Program status:  <reverse>Test mode"
  34.       GetKey
  35.     Item "Directory &listing"
  36.       RowCol 10, 1
  37.       run Dir *.txt
  38.     Item "&Quit"
  39.       exit 0
  40.   end
  41. End
  42.