Quay lại trang chủ

UniListView

Control UniListView.ctl

Component Type ActiveX UserControl
Properties Methods Events

Thuộc tính (Properties)

Tên Kiểu Mô tả chuyên sâu
hImlHeader Long Dữ liệu mô tả đang được cập nhật...
ColumnText String Dữ liệu mô tả đang được cập nhật...
ColumnWidth Integer Dữ liệu mô tả đang được cập nhật...
ColumnAlign eColumnAlignConstants Dữ liệu mô tả đang được cập nhật...
ColumnIcon Integer Dữ liệu mô tả đang được cập nhật...
ItemKey Variant Dữ liệu mô tả đang được cập nhật...
ItemText String Dữ liệu mô tả đang được cập nhật...
ItemIcon Integer Dữ liệu mô tả đang được cập nhật...
ItemIndent Integer Dữ liệu mô tả đang được cập nhật...
ItemSelected Boolean Dữ liệu mô tả đang được cập nhật...
ItemFocused Boolean Dữ liệu mô tả đang được cập nhật...
ItemChecked Boolean Dữ liệu mô tả đang được cập nhật...
ItemGhosted Boolean Dữ liệu mô tả đang được cập nhật...
SubItemText String Dữ liệu mô tả đang được cập nhật...
SubItemIcon Integer Dữ liệu mô tả đang được cập nhật...
BackColor OLE_COLOR Dữ liệu mô tả đang được cập nhật...
BorderStyle tvBorderStyleConstants Dữ liệu mô tả đang được cập nhật...
CheckBoxes Boolean Dữ liệu mô tả đang được cập nhật...
Count Integer Dữ liệu mô tả đang được cập nhật...
ColumnCount Integer Dữ liệu mô tả đang được cập nhật...
Enabled Boolean Dữ liệu mô tả đang được cập nhật...
Font Font Dữ liệu mô tả đang được cập nhật...
ForeColor OLE_COLOR Dữ liệu mô tả đang được cập nhật...
FullRowSelect Boolean Dữ liệu mô tả đang được cập nhật...
GridLines Boolean Dữ liệu mô tả đang được cập nhật...
HeaderDragDrop Boolean Dữ liệu mô tả đang được cập nhật...
HeaderFixedwidth Boolean Dữ liệu mô tả đang được cập nhật...
HeaderFlat Boolean Dữ liệu mô tả đang được cập nhật...
HeaderHide Boolean Dữ liệu mô tả đang được cập nhật...
HideSelection Boolean Dữ liệu mô tả đang được cập nhật...
LabelEdit Boolean Dữ liệu mô tả đang được cập nhật...
LabelTips Boolean Dữ liệu mô tả đang được cập nhật...
MultiSelect Boolean Dữ liệu mô tả đang được cập nhật...
OneClickActivate Boolean Dữ liệu mô tả đang được cập nhật...
ScaleMode ScaleModeConstants Dữ liệu mô tả đang được cập nhật...
ScrollBarFlat Boolean Dữ liệu mô tả đang được cập nhật...
SelectedCount Integer Dữ liệu mô tả đang được cập nhật...
SubItemImages Boolean Dữ liệu mô tả đang được cập nhật...
TrackSelect Boolean Dữ liệu mô tả đang được cập nhật...
UnderlineHot Boolean Dữ liệu mô tả đang được cập nhật...
ViewMode eViewModeConstants Dữ liệu mô tả đang được cập nhật...
RaiseSubItemPrePaint Boolean Dữ liệu mô tả đang được cập nhật...
hwnd Long Dữ liệu mô tả đang được cập nhật...
MouseIcon Picture Dữ liệu mô tả đang được cập nhật...
MousePointer MousePointerConstants Dữ liệu mô tả đang được cập nhật...
ImageListLarge String Dữ liệu mô tả đang được cập nhật...
ImageListSmall String Dữ liệu mô tả đang được cập nhật...
ImageListHeader String Dữ liệu mô tả đang được cập nhật...
ParentCtl Object Dữ liệu mô tả đang được cập nhật...
Theme String Dữ liệu mô tả đang được cập nhật...
Style DQHStyle Return/Set Style for Listview
OLEDropMode tvOLEDropConstants Dữ liệu mô tả đang được cập nhật...
OLEDragMode OLEDragConstants Dữ liệu mô tả đang được cập nhật...
UseTheme Boolean Dữ liệu mô tả đang được cập nhật...
AutoLoadTheme Boolean Dữ liệu mô tả đang được cập nhật...

Phương thức (Methods)

Loại Tên phương thức Tham số truyền vào (Params)
Sub zSubclass_Proc (ByVal bBefore As Boolean, ByRef bHandled As Boolean, ByRef lReturn As Long, ByRef lng_hWnd As Long, ByRef uMsg As Long, ByRef wParam As Long, ByRef lParam As Long)
Function ImageListSmalls (Optional hImageList As Long = -1, Optional ImageWidth As Long = 16, Optional ImageHeight As Long = 16)
Function ImageListLarges (Optional hImageList As Long = -1, Optional ImageWidth As Long = 16, Optional ImageHeight As Long = 16)
Function ImageListHeaders (Optional hImageList As Long = -1, Optional ImageWidth As Long = 16, Optional ImageHeight As Long = 16)
Sub Refresh (None)
Function GetItemKey (ByVal iItem As Long)
Sub Aboutbox (None)

Sự kiện (Events)

Tên sự kiện Cấu trúc tham số
Click (None)
DblClick (Item As Integer, Button As Integer, Shift As Integer)
ItemClick (Item As Integer)
ItemCheck (Item As Integer)
ColumnClick (Column As Integer)
ColumnRightClick (Column As Integer)
KeyDown (KeyCode As Integer, Shift As Integer)
KeyPress (KeyAscii As Integer)
KeyUp (KeyCode As Integer, Shift As Integer)
MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
MouseEnter (None)
MouseLeave (None)
BeforeLabelEdit (Cancel As Integer)
AfterLabelEdit (Cancel As Integer, NewString As String)
OwnerDrawHeader (ByVal lhWnd As Long, ByVal lhDC As Long, ByVal plDraw As Integer, ByVal State As Integer, ByVal X As Long, ByVal Y As Long, ByVal X1 As Long, ByVal Y1 As Long)
Resize (None)
OnSubItemPrePaint (ByVal Item As Integer, ByVal SubItem As Integer, TextBackColor As Long, TextForeColor As Long, Process As Boolean)
OLEStartDrag (Data As DataObject, AllowedEffects As Long)
OLEGiveFeedback (Effect As Long, DefaultCursors As Boolean)
OLEDragOver (Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)
OLEDragDrop (Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
OLECompleteDrag (Effect As Long)
RaPaintScroll (ByVal lhWnd As Long, ByVal lhDC As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal x2 As Long, ByVal y2 As Long, ByVal ePart As sbOnPaintPartCts, ByVal eState As sbOnPaintPartStateCts, ByVal sVertical As Boolean)
ColumnClick (CInt(.iItem)
ColumnRightClick (CInt(.iItem)
MouseUp ((uNMH.Code = NM_CLICK)
DblClick (CInt(uNMLV.iItem)
ItemCheck (CInt(.iItem)
ItemClick (CInt(.iItem)
BeforeLabelEdit (nCancel)
AfterLabelEdit (nCancel, sText)
KeyDown (wParam And &H7FFF&, pvShiftState()
KeyPress (wParam And &H7FFF&)
ItemClick (CInt(lIdx)
KeyUp (wParam And &H7FFF&, pvShiftState()
MouseDown (pvButton(uMsg)
ItemClick (CInt(lIdx)
MouseMove (pvButton(uMsg)
MouseUp (pvButton(uMsg)
OwnerDrawHeader (hdhWnd, lDrawDc, 0, State, mLeft, 0, .Right, .Bottom)
OwnerDrawHeader (hdhWnd, lDrawDc, 0, 1, mLeft, 0, .Right, .Bottom)
OwnerDrawHeader (hdhWnd, lDrawDc, 1, 1, mLeft, 0, ScaleWidth, tTemp.Bottom)
RaPaintScroll (0, hdc, X1, Y1, x2, y2, Part, IIf(Pressed, ppsPressed, IIf(bMove, ppsHot, ppsNormal)
OLECompleteDrag (Effect)
OLEDragDrop (Data, Effect, Button, Shift, X, Y)
OLEDragOver (Data, Effect, Button, Shift, X, Y, State)
OLEStartDrag (Data, AllowedEffects)
OnSubItemPrePaint (CInt(.nmcd.dwItemSpec)
OLEGiveFeedback (Effect, DefaultCursors)