📄 rle.frm
字号:
VERSION 5.00
Object = "*\A..\SOURCE\FAST2005.vbp"
Begin VB.Form frmRLE
BorderStyle = 3 'Fixed Dialog
Caption = "RLE compression"
ClientHeight = 2775
ClientLeft = 2910
ClientTop = 2760
ClientWidth = 4770
Icon = "Rle.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
PaletteMode = 1 'UseZOrder
ScaleHeight = 2775
ScaleWidth = 4770
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton cmdTest
Caption = "&Test"
Default = -1 'True
Height = 465
Left = 1485
TabIndex = 3
Top = 2220
Width = 1815
End
Begin VB.TextBox txtDecode
BackColor = &H8000000F&
Height = 330
Left = 105
Locked = -1 'True
TabIndex = 2
Top = 1635
Width = 4485
End
Begin VB.TextBox txtEncode
BackColor = &H8000000F&
Height = 330
Left = 120
Locked = -1 'True
TabIndex = 1
Top = 945
Width = 4485
End
Begin VB.TextBox txtInit
Height = 330
Left = 120
TabIndex = 0
Top = 300
Width = 4485
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Text uncompressed"
Height = 195
Index = 2
Left = 105
TabIndex = 6
Top = 1425
Width = 1395
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Text compressed"
Height = 195
Index = 1
Left = 120
TabIndex = 5
Top = 735
Width = 1215
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Enter text..."
Height = 195
Index = 0
Left = 120
TabIndex = 4
Top = 105
Width = 810
End
Begin FLWData.FWRLE objRLE
Left = 255
Top = 2100
_ExtentX = 820
_ExtentY = 820
End
End
Attribute VB_Name = "frmRLE"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmdTest_Click()
txtEncode = objRLE.Compress(txtInit)
txtDecode = objRLE.Decompress(txtEncode)
End Sub
Private Sub Form_Load()
txtInit.Text = "AAAAAABBBCCCCCCDDEEEEEEFFFFF"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -