cell.cls

来自「一个用VB开发的细胞元动机」· CLS 代码 · 共 49 行

CLS
49
字号
VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "Cell"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_Ext_KEY = "SavedWithClassBuilder6" ,"Yes"
Attribute VB_Ext_KEY = "Top_Level" ,"Yes"
'local variable(s) to hold property value(s)
Private mvarrow As Integer 'local copy
Private mvarcol As Integer 'local copy
Public Property Let col(ByVal vData As Integer)
'used when assigning a value to the property, on the left side of an assignment.
'Syntax: X.col = 5
    mvarcol = vData
End Property


Public Property Get col() As Integer
'used when retrieving value of a property, on the right side of an assignment.
'Syntax: Debug.Print X.col
    col = mvarcol
End Property



Public Property Let row(ByVal vData As Integer)
'used when assigning a value to the property, on the left side of an assignment.
'Syntax: X.row = 5
    mvarrow = vData
End Property


Public Property Get row() As Integer
'used when retrieving value of a property, on the right side of an assignment.
'Syntax: Debug.Print X.row
    row = mvarrow
End Property



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?