home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
MS_DEV
/
VBCCE
/
SAMPLES
/
AXMrquis
/
AXMrquis.EXE
/
RCDATA
/
CABINET
/
Frmtest.frm
< prev
next >
Wrap
Text File
|
1996-10-22
|
3KB
|
106 lines
VERSION 5.00
Object = "*\AAXMrquis.vbp"
Begin VB.Form Form1
Caption = "Marquis Test"
ClientHeight = 1785
ClientLeft = 2220
ClientTop = 6270
ClientWidth = 6375
LinkTopic = "Form1"
LockControls = -1 'True
ScaleHeight = 1785
ScaleWidth = 6375
Begin VB.Frame Frame1
Caption = "Scroll Mode"
Height = 972
Left = 30
TabIndex = 2
Top = 735
Width = 1608
Begin VB.OptionButton Option1
Caption = "Left to Right"
Height = 204
Index = 1
Left = 120
TabIndex = 4
Top = 552
Width = 1392
End
Begin VB.OptionButton Option1
Caption = "Right to Left"
Height = 204
Index = 0
Left = 120
TabIndex = 3
Top = 252
Value = -1 'True
Width = 1392
End
End
Begin VB.TextBox txtMsg
Height = 615
Left = 1800
MultiLine = -1 'True
TabIndex = 0
Text = "frmTest.frx":0000
Top = 1080
Width = 2940
End
Begin VB.CommandButton Command1
Caption = "&Start"
Default = -1 'True
Height = 585
Left = 4980
TabIndex = 1
Top = 1080
Width = 1368
End
Begin AXMarquisCtl.AXMarquis AXMarquis1
Height = 690
Left = 0
TabIndex = 6
Top = 0
Width = 6375
_ExtentX = 11245
_ExtentY = 1217
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Message Text:"
Height = 195
Left = 1800
TabIndex = 5
Top = 840
Width = 1050
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
With Command1
If .Caption = "&Start" Then
.Caption = "&Stop"
AXMarquis1.Text = txtMsg.Text
AXMarquis1.Enabled = True
Else
.Caption = "&Start"
AXMarquis1.Enabled = False
End If
End With
End Sub
Private Sub Form_Resize()
AXMarquis1.Width = Me.ScaleWidth
End Sub
Private Sub Option1_Click(Index As Integer)
AXMarquis1.ScrollMode = Index
End Sub