home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Power Pack / Visual_Basic4_Power_Pack.bin / vb4files / schedvbx / samples.z / VACATION.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-03-18  |  15.0 KB  |  266 lines

  1. VacationForm
  2. Vacation Schedules
  3. Form15
  4.     SchedVBX1
  5. SchedVBX
  6.     SchedVBX1
  7. INTLSHORTDATE'
  8. %D %lds)
  9. 5Arial
  10. Arial
  11. ?Arial
  12. Arial
  13. INTLSHORTDATEOManager
  14. Hourly Employee
  15. Contractor
  16. Miscellaneous
  17. ZArial
  18. Arial
  19. Arial
  20. Arial
  21. oArial
  22. zEmployee
  23. INTLSHORTDATE INTLTIME
  24. INTLSHORTDATE INTLTIME
  25. %D Days %H Hours %M Mins
  26. Timeblock\nBeg
  27. Timeblock\nEnd
  28. Timeblock\nDuration
  29. Bar\n#
  30. Group\n#
  31. User\n1
  32. User\n2
  33. User\n3
  34. User\n4
  35. Time\nBlk #
  36. Arial
  37. Legend
  38. %k (%d %t)
  39. Page %p
  40.     Draw1Week
  41.     SSCommand
  42. Drag: 1 Week
  43.     Drag1Week
  44. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwx
  45. wwwwwwww
  46. wwwwww
  47. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  48. EmployeeButton
  49.     SSCommand
  50. Employee
  51. wwwwww
  52. wwwwwwwww
  53. wwwwwwwww
  54. wwwwwwwwp
  55. 30wwwwwwwwp
  56. wwwwwwwp
  57. wwwwwwwp
  58. wwwwww
  59. 3330wwwwwwp
  60. wwwwwwp
  61. wwwwwwp
  62. wwwwwp
  63. wwwww
  64. wwwwp
  65. wwwwp
  66. wwwwp
  67. wwwww
  68. wwwww
  69. wwwwwp
  70. wwwwwp
  71. wwwwwwp
  72. wwwwwww
  73. wwwwwwwp
  74. wwwwwwwww
  75. wwwwwwwwwp
  76. wwwwwwwwwwwp
  77. wwwwwwwwwwwwp
  78. wwwwwwww
  79. WeekButton
  80.     SSCommand
  81. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwx
  82. wwwwwwww
  83. wwwwww
  84. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  85. MonthButton
  86.     SSCommand
  87. Month
  88.                     
  89.                     
  90.                     
  91. YearButton
  92.     SSCommand
  93. ffffff`w
  94. ffff`
  95. Drag1Day
  96.     SSCommand
  97. Drag: 1 Day
  98. Drag1Day
  99.     Employees
  100. Employees...
  101.         Vacations
  102. Vacations...
  103. mnuBar
  104. mnuBarChange
  105. Change
  106. mnuBarDelete
  107. Delete
  108. YearButton_Click7
  109.     SchedVBX1Z
  110. DisplayMode
  111. SCHED_DISPLAYMODE_YEARLYHORZ(
  112. Widthp
  113. VacationForm
  114. Heighto
  115. MonthButton_Click7
  116. SCHED_DISPLAYMODE_MONTHLYHORZv
  117. WeekButton_Click|
  118. TSMinor
  119. SCHED_YEAR
  120. SCHED_DISPLAYMODE_WEEKLYHORZ
  121. EmployeeButton_Click
  122.     SCHED_DAY
  123. SCHED_DISPLAYMODE_RESOURCEV
  124. Employees_Click
  125. EmployeeForm
  126. EmpList(
  127. ResMax
  128. ResName,
  129.     Form_LoadP
  130. ResLoadE
  131. TBLoad
  132. DefaultDateTimeFormat
  133. Form_Resize
  134. Form_Unload
  135. Cancel
  136. ResSave
  137. TBSave
  138. mnuBarChange_Click
  139. VacationInfoForm5
  140. EmpNum
  141. TBResource
  142. VacDesc
  143. TBUser2
  144. VacFromV
  145. TBBeg
  146. VacToO
  147. TBEnd
  148. TBNum
  149. mnuBarDelete_Click
  150. TBDelete
  151. TBMax5
  152. SchedVBX1_BarDoubleClick
  153.     TimeBlock
  154. SchedVBX1_BarRightSingleClick
  155. mnuBar
  156. SchedVBX1_DragDrop
  157. Source
  158. Control
  159. sTime
  160. Screen
  161. TwipsPerPixelX
  162. TwipsPerPixelYN
  163.     iResource
  164. SchedVBXPointToResource
  165. LegendSelection@
  166. iResult"
  167. SchedVBXPointToTimez
  168. iNextTBo
  169. TBNextEmpty
  170. User1
  171. VacationDescForm
  172. User2
  173. SchedVBXAddTimeBlockx
  174. SchedVBX1_TBChanged
  175. TBUser1
  176. Vacations_Click
  177. VacationListForm
  178. EmpDefault
  179. Drag1Day_Click
  180. based
  181.     available
  182. code?
  183. SchedVBX1_MouseDown
  184. Button
  185. Shift
  186. SchedVBX1_TBBegChanged
  187. DateTime
  188. Redraw
  189. EmployeeButton_Click
  190.  Change TSMinor of Primary Timescale to days so we can use the
  191.  settings defined for the timescalel
  192.  Change DisplayMode to Resource Mode
  193.  Resize Schedule/VBX to form sizeo
  194. Employees_Click
  195.  Clear out the employee list
  196.  Load the employee list from Schedule/VBX control resourcesu
  197. Form_Load
  198.  Load the Resource & Timeblock files into the Schedule/VBX control
  199. VACRES.TXT
  200. VACTB.TXT
  201.  Set the Def Date/Time to show only days
  202. INTLSHORTDATE
  203. Form_Resize
  204.  Resize the Schedule/VBX control based on new form sizeV
  205. Form_Unload
  206.  Save Resources & Timeblocks to external ASCII files
  207. VACRES.TXT
  208. VACTB.TXT
  209.  Terminate program
  210. mnuBarChange_Click
  211.  Load Vacation Info Form controls with Resource data
  212.  iTB is global var set by click event in Schedule/VBXV
  213.  Set timeblock number for VactionInfo form to usel
  214.  Display VacationInfo form (modal)
  215. mnuBarDelete_Click
  216.  Delete timeblockk
  217.  iTB is global var set by click event in Schedule/VBXB
  218.  Reduce # of timeblocks allocated in Schedule/VBX control
  219. MonthButton_Click
  220.  Change DisplayMode to Monthly Horizontali
  221.  Resize Schedule/VBX to form sizer
  222. SchedVBX1_BarDoubleClick
  223.  Schedule/VBX Bar was double clicked by user
  224.  setup VacationInfo form controls with timeblock infoe
  225.  Setup timeblock # for use in VacationInfo formo
  226.  Display (modal) VacationInfo form
  227. SchedVBX1_BarRightSingleClick
  228.  User Right clicked a Bar in Schedule/VBXo
  229.  Set global variable (iTB) to timeblock clicked on
  230.  and invoke popup menu containing Change & DeleteD
  231. SchedVBX1_DragDrop
  232.  convert drag/drop coordinates from twips to pixels/
  233.  get resource # of coord from Schedule/VBX DLL Call/
  234.  if coord not on resource, then check to see if a legend iteml
  235.  is selected by user
  236.  get date/time of coord from Schedule/VBX into sTime
  237.  add a new timeblock in the Schedule/VBX control
  238.  get timeblock # of newly added timeblockc
  239.  Select which control is being dragged onto us
  240.  set Dur$ string to duration based on source
  241. Drag1Day
  242. 1 Day
  243. Drag1Week
  244. 7 Days
  245.  setup strings User1$ & User2$ for the new timeblock
  246.  User2$ = Vacation Description stringn
  247.  User1$ = EmployeeName - Vacation Descriptione
  248.  User1$ is text displayed in bar, User2$ is used to rebuild 
  249.  User1$ if necessary during a change
  250. Vacation
  251.  Add new timeblock to Schedule/VBX using DLL Calld
  252.  Redraw control to show new timeblock-
  253. SchedVBX1_TBChanged
  254.  reconstruct user1 string - in case timeblock moved to different resource
  255. Vacations_Click
  256.  Vacations menu item clicked
  257.  Invoke Vacation List form (modal)
  258. WeekButton_Click
  259.  Change TSMinor of Primary Timescale to year so it won't conflictt
  260.  with default settings for Weekly Horizontal moded
  261.  Change DisplayMode to Weekly Horizontal
  262.  Resize Schedule/VBX to form sizei
  263. YearButton_Click
  264.  Change DisplayMode to Yearly Horizontal
  265.  Resize Schedule/VBX to form sizei
  266.