-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathHeaderItem.cls
More file actions
34 lines (29 loc) · 787 Bytes
/
HeaderItem.cls
File metadata and controls
34 lines (29 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
Persistable = 0 'NotPersistable
DataBindingBehavior = 0 'vbNone
DataSourceBehavior = 0 'vbNone
MTSTransactionMode = 0 'NotAnMTSObject
END
Attribute VB_Name = "HeaderItem"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit
Public text As String
Public DisplayedText As String
Public ItemIndex As Long
Private m_Origin As RECTF
Public Function SetOrigin(Height As Single, Left As Single, Top As Single, Width As Single)
With m_Origin
.Height = Height
.Left = Left
.Top = Top
.Width = Width
End With
End Function
Public Function GetOrigin() As RECTF
GetOrigin = m_Origin
End Function