home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
code
/
cdspy
/
f_codes.frm
< prev
next >
Wrap
Text File
|
1995-02-26
|
2KB
|
92 lines
VERSION 2.00
Begin Form F_Codes
Caption = "Projekt-Dateien"
ClientHeight = 5400
ClientLeft = 1095
ClientTop = 1485
ClientWidth = 4200
Height = 5805
Icon = F_CODES.FRX:0000
Left = 1035
LinkTopic = "Form4"
MDIChild = -1 'True
ScaleHeight = 5400
ScaleWidth = 4200
Tag = "Code"
Top = 1140
Width = 4320
Begin FileListBox FilCode
Height = 5100
Left = 1440
Pattern = "*.BAS;*.MAK;*.FRM;*.TXT"
TabIndex = 0
Top = 90
Width = 1905
End
Begin Label Label1
Alignment = 2 'Center
Caption = "Kein Code vorhanden"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 465
Left = 90
TabIndex = 1
Top = 990
Width = 1245
WordWrap = -1 'True
End
End
Option Explicit
Option Compare Text
Sub FilCode_DblClick ()
screen.MousePointer = 11 ' Sanduhr
PM_ShowToolbox False
PM_EditFile FM_Verz((FilCode.Path)) & FilCode
PM_ShowToolbox True
End Sub
Sub FilCode_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button And 2 Then
Set G_Control = FilCode
PopupMenu mdicdSpy!MnuSetup
End If
End Sub
Sub Form_Load ()
PM_LiesForm Me
PM_Refresh GCM_ENABLE
Me.Show
PM_Refresh GCM_DISABLE
End Sub
Sub Form_Paint ()
If FM_Refresh() Then
Me.FilCode.Visible = F_Toolbox!Cmd_Array(GCM_CMD_CODE).Enabled
Me.FilCode.Path = GM_AktElement.Verzeichnis$
Me.FilCode.Refresh
End If
End Sub
Sub Form_QueryUnload (Cancel As Integer, UnloadMode As Integer)
PM_SchreibForm Me
End Sub
Sub Form_Resize ()
FreezeOn mdicdSpy.hWnd
If F_CheckFormSize(Me, 3000, 3000) = True Then
P_ResizeObjectToForm Me, FilCode, 100
P_ResizeObjectToForm Me, label1, 200
Me.AutoRedraw = True
Me.Cls
Show3d Me
P_Show3dTwips Me, FilCode, 1
End If
FreezeOn 0
End Sub