home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
code
/
various
/
listsr
/
listsrch.frm
< prev
next >
Wrap
Text File
|
1995-02-11
|
3KB
|
104 lines
VERSION 2.00
Begin Form frmListSearch
BorderStyle = 3 'Fixed Double
Caption = "Quicken Style Incremental Search Demo"
ClientHeight = 2805
ClientLeft = 1095
ClientTop = 1845
ClientWidth = 6780
ClipControls = 0 'False
ControlBox = 0 'False
Height = 3210
Left = 1035
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2805
ScaleWidth = 6780
Top = 1500
Width = 6900
Begin ListBox lstSearch
BackColor = &H00FFFFFF&
Height = 1980
Left = 150
Sorted = -1 'True
TabIndex = 0
TabStop = 0 'False
Top = 645
Width = 5100
End
Begin TextBox txtSearch
BackColor = &H00FFFFFF&
Height = 300
HideSelection = 0 'False
Left = 1380
MaxLength = 65
MousePointer = 3 'I-Beam
TabIndex = 1
Top = 195
Width = 3840
End
Begin CommandButton cmdClose
Caption = "&Close"
Height = 330
Left = 5400
TabIndex = 3
TabStop = 0 'False
Top = 150
Width = 1200
End
Begin Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "&Search Text:"
Height = 195
Left = 150
TabIndex = 2
Top = 255
Width = 1110
End
End
Option Explicit
Sub cmdClose_Click ()
Call LISTSRCH_cmdClose_Click
End Sub
Sub Form_Activate ()
LISTSRCH_Activate
End Sub
Sub Form_Load ()
LISTSRCH_Load
End Sub
Sub lstSearch_Click ()
LISTSRCH_lstSearch_Click lstSearch, txtSearch
End Sub ' lstSearch_Click
Sub lstSearch_KeyDown (KeyCode As Integer, Shift As Integer)
LISTSRCH_lstSearch_KeyDown
End Sub
Sub lstSearch_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
LISTSRCH_lstSearch_MouseDown
End Sub
Sub txtSearch_Change ()
LISTSRCH_txtSearch_Change lstSearch, txtSearch
End Sub ' txtSearch_Change
Sub txtSearch_GotFocus ()
LISTSRCH_txtSearch_GotFocus
End Sub
Sub txtSearch_KeyDown (KeyCode As Integer, Shift As Integer)
LISTSRCH_txtSearch_KeyDown KeyCode
End Sub
Sub txtSearch_KeyPress (KeyAscii As Integer)
LISTSRCH_txtSearch_KeyPress KeyAscii
End Sub