home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 November
/
pcwk_11_98a.iso
/
Wtestowe
/
SOFTSRC
/
vtrial15.exe
/
DATA.1
/
PVIEW.FRM
< prev
next >
Wrap
Text File
|
1996-09-01
|
3KB
|
99 lines
VERSION 4.00
Begin VB.Form PViewForm
Caption = "PView Settings"
ClientHeight = 2310
ClientLeft = 4680
ClientTop = 2280
ClientWidth = 6675
Height = 2715
Left = 4620
LinkTopic = "Form1"
ScaleHeight = 2310
ScaleWidth = 6675
Top = 1935
Width = 6795
Begin VB.TextBox PViewPath
Height = 375
Left = 360
TabIndex = 2
Top = 1200
Width = 6015
End
Begin VB.CommandButton CancelCmd
Cancel = -1 'True
Caption = "Cancel"
Height = 375
Left = 3840
TabIndex = 1
Top = 1800
Width = 1335
End
Begin VB.CommandButton OKCmd
Caption = "OK"
Default = -1 'True
Height = 375
Left = 1560
TabIndex = 0
Top = 1800
Width = 1335
End
Begin VB.Label Label1
Alignment = 2 'Center
BackColor = &H00808080&
BorderStyle = 1 'Fixed Single
Caption = $"PView.frx":0000
BeginProperty Font
name = "MS Sans Serif"
charset = 0
weight = 700
size = 9.75
underline = 0 'False
italic = 0 'False
strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 855
Left = 240
TabIndex = 3
Top = 120
Width = 6255
End
End
Attribute VB_Name = "PViewForm"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Option Explicit
Private Sub CancelCmd_Click()
'
'
'
gblPView = False
PViewForm.Hide
End Sub
Private Sub Form_Load()
'
' init the PView Settings Form
'
PViewForm.Top = (Screen.Height - PViewForm.Height) / 2
PViewForm.Left = (Screen.Width - PViewForm.Width) / 2
Dim pPath$
pPath$ = GetSetting("Vdraft_Test", "Settings", "PView", "D:\MSVC20\BIN\PVIEW.EXE")
PViewPath.Text = pPath$
End Sub
Private Sub OKCmd_Click()
'
'
'
Dim pPath$
pPath$ = PViewForm.PViewPath.Text
SaveSetting "Vdraft_Test", "Settings", "PView", pPath$
gblPView = True
PViewForm.Hide
End Sub