home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / printsnw.zip / CNTRL.BI next >
Text File  |  1993-07-18  |  5KB  |  95 lines

  1. ' BackColor, ForeColor (form, controls)
  2. CONST BLACK = 0
  3. CONST BLUE = 1
  4. CONST GREEN = 2
  5. CONST CYAN = 3
  6. CONST RED = 4
  7. CONST MAGENTA = 5
  8. CONST BROWN = 6
  9. CONST WHITE = 7
  10. CONST GRAY = 8
  11. CONST BRIGHT_BLUE = 9
  12. CONST BRIGHT_GREEN = 10
  13. CONST BRIGHT_CYAN = 11
  14. CONST BRIGHT_RED = 12
  15. CONST PINK = 13
  16. CONST YELLOW = 14
  17. CONST BRIGHT_WHITE = 15
  18.  
  19. ' BorderStyle (form)
  20. CONST NONE = 0                          ' 0 - None
  21. CONST FIXED_SINGLE = 1                  ' 1 - Fixed Single
  22. CONST SIZABLE_SINGLE = 2                ' 2 - Sizable Single
  23. CONST FIXED_DOUBLE = 3                  ' 3 - Fixed Double
  24. CONST SIZABLE_DOUBLE = 4                ' 4 - Sizable Double
  25. CONST FIXED_SOLID = 5                   ' 5 - Fixed Solid
  26. CONST SIZABLE_SOLID = 6                 ' 6 - Sizable Solid
  27.  
  28. ' BorderStyle (label, picture box, text box)
  29. ' CONST NONE = 0                        ' 0 - None
  30. CONST SINGLE_LINE = 1                   ' 1 - Single Line
  31. CONST DOUBLE_LINE = 2                   ' 2 - Double Line (label and picture box only)
  32.  
  33. ' DragMode (controls)
  34. CONST MANUAL = 0                        ' 0 - Manual
  35. CONST AUTOMATIC = 1                     ' 1 - Automatic
  36.  
  37. ' FormType (form - Multiple Document Interface (MDI) vs Single Document Interface (SDI) applications)
  38. CONST NORMAL = 0                        ' 0 - Normal (Normal form in SDI applications, 
  39.                                         '     child form in MDI applications)
  40. CONST MDI = 1                           ' 1 - MDI (Container form in MDI application)
  41.  
  42. ' MousePointer (form, controls)
  43. CONST DEFAULT = 0                       ' 0 - Default (Same MousePointer as container object's MousePointer)
  44. CONST BLOCK = 1                         ' 1 - Block (ASCII 219)
  45. CONST CROSSHAIR = 2                     ' 2 - Cross (ASCII 197)
  46. CONST IBEAM = 3                         ' 3 - I-Beam (ASCII 73)
  47. CONST ICON = 4                          ' 4 - Icon (ASCII 002)
  48. CONST SIZE_POINTER = 5                  ' 5 - Size (ASCII 015)
  49. CONST LEFT_ARROW = 6                    ' 6 - Left Arrow (ASCII 027)
  50. CONST SIZE_N_S = 7                      ' 7 - Size North South (ASCII 018)
  51. CONST RIGHT_ARROW = 8                   ' 8 - Right Arrow (ASCII 026)
  52. CONST SIZE_W_E = 9                      ' 9 - Size West East (ASCII 029)
  53. CONST UP_ARROW = 10                     ' 10 - Up Arrow (ASCII 024)
  54. CONST HOURGLASS = 11                    ' 11 - Hourglass (ASCII 088)
  55. CONST DOWN_ARROW = 12                   ' 12 - Down Arrow (ASCII 025)
  56.  
  57. ' ScrollBar (text box)
  58. ' CONST NONE = 0                        ' 0 - None
  59. CONST HORIZONTAL = 1                    ' 1 - Horizontal
  60. CONST VERTICAL = 2                      ' 2 - Vertical
  61. CONST BOTH = 3                          ' 3 - Both
  62.  
  63. ' Value (check box)
  64. CONST UNCHECKED = 0                     ' 0 - Unchecked
  65. CONST CHECKED = 1                       ' 1 - Checked
  66. CONST GRAYED = 2                        ' 2 - Grayed
  67.  
  68. ' WindowState (form)
  69. ' CONST NORMAL = 0                        ' 0 - Normal
  70. CONST MINIMIZED = 1                     ' 1 - Minimized
  71. CONST MAXIMIZED = 2                     ' 2 - Maximized
  72.  
  73. ' SCREEN.ControlPanel array elements
  74. CONST ACCESSKEY_FORECOLOR = 0           ' Access key foreground color (0-15).
  75. CONST ACTIVE_BORDER_BACKCOLOR = 1       ' Active border background color (0-15).
  76. CONST ACTIVE_BORDER_FORECOLOR = 2       ' Active border foreground color (0-15).
  77. CONST ACTIVE_WINDOW_SHADOW = 3          ' Active window shadow effect (Boolean).
  78. CONST COMBUTTON_FORECOLOR = 4           ' Command button foreground color (0-15).
  79. CONST DESKTOP_BACKCOLOR = 5             ' Desktop background color (0-15).
  80. CONST DESKTOP_FORECOLOR = 6             ' Desktop foreground color (0-15).
  81. CONST DESKTOP_PATTERN = 7               ' Desktop fill pattern (ASCII 0-255).
  82. CONST DISABLED_ITEM_FORECOLOR = 8       ' Disabled menu/dialog item foreground color (0-15).
  83. CONST MENU_BACKCOLOR = 9                ' Menu background color (0-15).
  84. CONST MENU_FORECOLOR = 10               ' Menu foreground color (0-15).
  85. CONST MENU_SELECTED_BACKCOLOR = 11      ' Menu selected item background color (0-15).
  86. CONST MENU_SELECTED_FORECOLOR = 12      ' Menu selected item foreground color (0-15).
  87. CONST SCROLLBAR_BACKCOLOR = 13          ' Scrollbar background color (0-15).
  88. CONST SCROLLBAR_FORECOLOR = 14          ' Scrollbar foreground color (0-15).
  89. CONST THREE_D = 15                      ' 3-D effect for controls with borders (Boolean).
  90. CONST TITLEBAR_BACKCOLOR = 16           ' Titlebar background color (0-15).
  91. CONST TITLEBAR_FORECOLOR = 17           ' Titlebar foreground color (0-15).
  92.  
  93.  
  94.  
  95.