home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / calendar / caldr1.frm (.txt) next >
Visual Basic Form  |  1993-11-05  |  10KB  |  167 lines

  1. Form1
  2. Calendar Demo
  3. Form158
  4. Command1
  5. Calendar
  6. Calendar
  7. btnMonth
  8.     SSCommand
  9. Command3D1
  10. btnYear
  11.     SSCommand
  12. Command3D1
  13. Picture1
  14. Picture2
  15. lblMonth
  16. Label1
  17. lblYear
  18. Label1
  19. Label1
  20. Click button to display calendar.  Clicking on a date highlights and sets it. A set date can be removed by double clicking on it.  Feel free to improve upon.  Any suggestions to speed display when you advance or retard the calendar with the arrows would be appreciated. This just shows what's possible with VB, alone.  Much was suggested by  VB Knowledge Base article,  "How to Make a Spreadsheet-style Grid that Allows Editing". I do contract programming in VB and Access and would appreciate any leads for work you can pass my way.                                        Glenn Silverman :  CompuServe 71450,2750
  21. Picture1_Click
  22. Picture1_GotFocus
  23. Text1
  24. Picture1_MouseDown
  25. Button
  26. Shiftd
  27. grid_col
  28. grid_row
  29.     grid_cols2
  30. grid_line_colo
  31.     grid_rows
  32. grid_line_row
  33. grid_edit_move
  34.     Form_LoadO
  35. Picture1z
  36. BorderStyle
  37.     grid_text<
  38.     BackColor
  39. CurrentX%
  40. CurrentY
  41. grid_col_maxi
  42. grid_row_max
  43. grid_col_rows
  44. grid_col_row
  45. grid_build
  46. Rowsn
  47. Width6
  48. HeightR
  49. draw_grid_lines
  50. color
  51. Coordinate
  52. fill_cell_array
  53. upper/
  54. lower
  55.     ShowMonth
  56. date1
  57. date2
  58. days@
  59. firstV
  60.     currIndex
  61. lblYear
  62. lblMonth
  63. DayCalc
  64. grdCal
  65. BuildCal
  66. DaysOfWeek|
  67. frmCal
  68. SetControl
  69. ControlText
  70.     FixedRows?
  71.     FixedCols
  72.     RowHeight
  73. ColWidtha
  74. FixedAlignmentP
  75. ColAlignment
  76. btnYear
  77. Caption
  78. Visible5
  79. btnMonth
  80. lblDay+
  81. CalendarE
  82. build
  83. Control
  84. bkCol
  85. tcolo
  86. FontBold
  87.     ForeColor
  88.     Alignment
  89. AdvanceMonth
  90. RetardMonth
  91. btnYear_Click
  92. Index
  93. btnMonth_Click
  94. grid_cell_move
  95. Label1
  96. Picture
  97. Picture2
  98. Timer1_Timer
  99. txtColor
  100. AdvanceYears
  101. btnYear_MouseDown
  102. RetardYear
  103. btnYear_KeyDown
  104. KeyCode
  105. start
  106. shadow_grid
  107. Picture2_Click
  108. Picture2_DblClick$
  109. SetDate
  110. SetDatecol
  111. date_set0
  112. calDate
  113. uppery
  114. Intweger
  115. set_date
  116. Command1_Click
  117. Max grid size
  118. grid dimensions
  119. Current grid size
  120. Current cell positionn
  121. Grid string contents
  122. Grid cell numbers
  123. Grid line positions
  124. Calendar date setting
  125. AdvanceMonth
  126. AdvanceYear
  127. btnMonth_Click
  128. btnYear_Click
  129. BuildCal
  130. Set control dimensions
  131. Set headings
  132. set weekday heads
  133. set grdCal
  134. build cal grid
  135. Set buttons
  136. Command1_Click
  137. ControlText
  138. date_set
  139. DayCalc
  140. clear cell
  141. display day number in cell 
  142. store day in grid_text array
  143. calendar date settingt
  144. draw_grid_lines
  145. fill_cell_array
  146. Form_Load
  147. grid_build
  148. set grid sizev
  149. remove borders
  150. set col widths and row heights
  151. fill cell array
  152. create grid shadows
  153. grid_cell_move
  154. set new grid current cell
  155. Move label box to new cell
  156. Copy contents of new cell to label
  157. Picture1_MouseDown
  158. Picture2_DblClick
  159. RetardMonth
  160. RetardYear
  161. set_date
  162. Find cell clicked in
  163. set the new date
  164. SetControl
  165. shadow_grid
  166. ShowMonth
  167.