home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 January
/
VPR9701A.ISO
/
PROJ95
/
EXAMPLES
/
ANALYZER
/
MOST.FRM
< prev
next >
Wrap
Text File
|
1996-08-21
|
11KB
|
343 lines
VERSION 2.00
Begin Form Most
BackColor = &H00C0C0C0&
BorderStyle = 3 '固定 - 二重線
Caption = "Microsoft Project Analyzer - "
ClientHeight = 3885
ClientLeft = 1710
ClientTop = 2505
ClientWidth = 7365
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 4290
Left = 1650
LinkTopic = "Form2"
ScaleHeight = 3885
ScaleWidth = 7365
Top = 2160
Width = 7485
Begin CommandButton Exit
BackColor = &H00C0C0C0&
Caption = "終了(&X)"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 375
Left = 6120
TabIndex = 13
Top = 840
Width = 1095
End
Begin CommandButton SelectButton
BackColor = &H00C0C0C0&
Cancel = -1 'True
Caption = "選択(&S)..."
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 375
Left = 6120
TabIndex = 12
Top = 120
Width = 1095
End
Begin SSFrame Frame3D3
Caption = "作業時間が超過したリソース (作業時間の差異)"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 1095
Left = 120
TabIndex = 2
Top = 2520
Width = 5775
Begin CommandButton More_MWV
BackColor = &H00C0C0C0&
Caption = "一覧(&R)..."
Enabled = 0 'False
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 375
Left = 4560
TabIndex = 11
Top = 480
Width = 1095
End
Begin SSPanel Panel_MWV
Alignment = 1 'Left Justify - MIDDLE
AutoSize = 2 'AutoSize Panel Height To Caption
BackColor = &H00FFFFFF&
BevelOuter = 1 'Inset
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 270
Left = 120
TabIndex = 8
Top = 600
Width = 4335
End
Begin Label Label3
AutoSize = -1 'True
BackColor = &H00C0C0C0&
Caption = "基準作業時間を最も超過したリソース"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 195
Left = 120
TabIndex = 5
Top = 360
Width = 3015
End
End
Begin SSFrame Frame3D2
Caption = "コストが超過したリソース (コストの差異)"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00000000&
Height = 1095
Left = 105
TabIndex = 1
Top = 1335
Width = 5775
Begin CommandButton More_MCV
BackColor = &H00C0C0C0&
Caption = "一覧(&O)..."
Enabled = 0 'False
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 375
Left = 4560
TabIndex = 10
Top = 480
Width = 1095
End
Begin SSPanel Panel_MCV
Alignment = 1 'Left Justify - MIDDLE
AutoSize = 2 'AutoSize Panel Height To Caption
BackColor = &H00FFFFFF&
BevelOuter = 1 'Inset
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 270
Left = 120
TabIndex = 7
Top = 600
Width = 4335
End
Begin Label Label2
AutoSize = -1 'True
BackColor = &H00C0C0C0&
Caption = "基準コストを最も超過したリソース"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 195
Left = 120
TabIndex = 4
Top = 360
Width = 2940
End
End
Begin SSFrame Frame3D1
Caption = "遅れたタスク (終了日の差異)"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 1095
Left = 120
TabIndex = 0
Top = 120
Width = 5775
Begin CommandButton More_MFV
BackColor = &H00C0C0C0&
Caption = "一覧(&M)..."
Enabled = 0 'False
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 375
Left = 4560
TabIndex = 9
Top = 480
Width = 1095
End
Begin SSPanel Panel_MFV
Alignment = 1 'Left Justify - MIDDLE
AutoSize = 3 'AutoSize Child To Panel
BackColor = &H00FFFFFF&
BevelOuter = 1 'Inset
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 270
Left = 120
TabIndex = 6
Top = 600
Width = 4335
End
Begin Label Label1
AutoSize = -1 'True
BackColor = &H00C0C0C0&
Caption = "現在のスケジュールに最も遅れたタスク"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Pゴシック"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 195
Left = 120
TabIndex = 3
Top = 360
Width = 3150
End
End
End
Option Explicit
Sub Exit_Click ()
TerminateApplication
End Sub
Sub Form_Load ()
If gnTasks = 0 Then
More_MFV.Enabled = False
Else
End If
Left = (Screen.Width - Width) / 2 'フォームを左右中央に配置します。
Top = (Screen.Height - Height) / 2 'フォームを上下中央に配置します。
End Sub
Sub Form_Unload (Cancel As Integer)
Exit_Click
End Sub
Sub More_MCV_Click ()
'More フォームを設定し、
'各リソースの ID を保存します。
Dim x As Integer
Screen.MousePointer = HOURGLASS
More.Caption = sMORE_MCV
More.MoreList.Clear
ReDim gsaIDOrder(gnCostVar)
For x = 1 To gnCostVar
More.MoreList.AddItem gautCostVar(x).sCostVar + Space$(gnCVLongest - Len(gautCostVar(x).sCostVar)) + Chr$(9) + gautCostVar(x).sName
More.MoreList.ItemData(More.MoreList.NewIndex) = Val(gautCostVar(x).sID)
Next x
gnResOrTask = RESOURCE
Most.Hide
More.Show
Screen.MousePointer = DEFAULT
End Sub
Sub More_MFV_Click ()
'More フォームを設定し、
'各タスクの ID を保存します。
Dim x As Integer
Screen.MousePointer = HOURGLASS
More.Caption = sMORE_MFV
More.MoreList.Clear
ReDim gsaIDOrder(1 To gnFinVar)
For x = 1 To gnFinVar ' gnFinVar To 1 Step -1
More.MoreList.AddItem gautFinVar(x).sFinVar + Space$(gnFVLongest - Len(gautFinVar(x).sFinVar)) + Chr$(9) + gautFinVar(x).sName
More.MoreList.ItemData(More.MoreList.NewIndex) = Val(gautFinVar(x).sID)
'gsaIDOrder(x) = gautFinVar(x).sID
Next x
gnResOrTask = TASK
Most.Hide
More.Show
Screen.MousePointer = DEFAULT
End Sub
Sub More_MWV_Click ()
'More フォームを設定し、
'各リソースの ID を保存します。
Dim x As Integer
Screen.MousePointer = HOURGLASS
More.Caption = sMORE_MWV
More.MoreList.Clear
ReDim gsaIDOrder(gnWorkVar)
For x = 1 To gnWorkVar
More.MoreList.AddItem gautWorkVar(x).sWorkVar + Space$(gnWVLongest - Len(gautWorkVar(x).sWorkVar)) + Chr$(9) + gautWorkVar(x).sName
More.MoreList.ItemData(More.MoreList.NewIndex) = Val(gautWorkVar(x).sID)
Next x
gnResOrTask = RESOURCE
Most.Hide
More.Show
Screen.MousePointer = DEFAULT
End Sub
Sub SelectButton_Click ()
'プロジェクト一覧で新しいタスク/リソースを選択します。
Most.Hide
ProjList.Show
End Sub