Quay lại trang chủ

UniListbox

Control UniListbox.ctl

Component Type ActiveX UserControl
Properties Methods Events

Thuộc tính (Properties)

Tên Kiểu Mô tả chuyên sâu
CurrentTop Long Dữ liệu mô tả đang được cập nhật...
Source Variant Dữ liệu mô tả đang được cập nhật...
ListImages ListImages Dữ liệu mô tả đang được cập nhật...
NewIndex Long Returns the index of the item most recently added to a control.
ListIcon Long Dữ liệu mô tả đang được cập nhật...
ListToolTipText String Dữ liệu mô tả đang được cập nhật...
List String Dữ liệu mô tả đang được cập nhật...
itemData Variant 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...
Enabled 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...
Filter String Dữ liệu mô tả đang được cập nhật...
Font Font Dữ liệu mô tả đang được cập nhật...
ImageListName 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...
ItemHeight Long Dữ liệu mô tả đang được cập nhật...
ListIndex Long Dữ liệu mô tả đang được cập nhật...
ListRecordset ADODB Dữ liệu mô tả đang được cập nhật...
Count Long Dữ liệu mô tả đang được cập nhật...
CheckItems Long Dữ liệu mô tả đang được cập nhật...
ListCheck Integer Dữ liệu mô tả đang được cập nhật...
Color OLE_COLOR Dữ liệu mô tả đang được cập nhật...
Style DQHStyle Dữ liệu mô tả đang được cập nhật...
Picture Picture Dữ liệu mô tả đang được cập nhật...
RowColor1 OLE_COLOR Dữ liệu mô tả đang được cập nhật...
RowColor2 OLE_COLOR Dữ liệu mô tả đang được cập nhật...
RowColor Boolean Dữ liệu mô tả đang được cập nhật...
LinkItemStyle LinkItemStyle Dữ liệu mô tả đang được cập nhật...
Text String Dữ liệu mô tả đang được cập nhật...
Sort SortConst Dữ liệu mô tả đang được cập nhật...
Theme String Dữ liệu mô tả đang được cập nhật...
IntegralHeight Boolean Recommand is True
Checkbox Boolean Dữ liệu mô tả đang được cập nhật...
OLEDragMode OLEDragConstants Dữ liệu mô tả đang được cập nhật...
OLEDropMode tvOLEDropConstants Returns/Sets whether this object can act as an OLE drop target.
EnableScrolling Boolean Dữ liệu mô tả đang được cập nhật...
OLEDragInsertStyle tvOLEDragInsertStyleConstants 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)
Function GetRecordSet (ByVal DBAddress As String, ByVal DBTableName As String, ByVal DBPassword, ByVal iFieldList As Long, ByVal iFieldIcon As Long, ByVal iToolTip As Long, Optional ByVal DBFilter As String = "")
Function SwapItems (ByVal lIndexOne As Long, ByVal lIndexTwo As Long)
Function AddItem (ByVal lText As Variant, Optional ByVal lIconIndex As Long = -1, Optional lToolTipText As String = "", Optional lItemData As Variant = 0, Optional lIndex As Long = -1)
Sub Refresh (None)
Sub CreateImageList (ByVal lWidth As Long, ByVal lHeight As Long)
Sub AboutControls (None)
Sub Clear (None)
Function Remove (Index As Long)
Function FindSpecial (ByVal lStr As String, ByRef OutArray()
Function Search (ByVal vStr As String, Optional bSearchAll As Boolean = True)
Function HitTest (ByVal Y As Single)
Function Find (ByVal vStr As String)
Sub SetCount (ByVal NewCount As Long)
Function GetFile (ByVal uFileName As String)
Function SaveToFile (ByVal Address As String)
Function LoadFromFile (ByVal Address As String)

Sự kiện (Events)

Tên sự kiện Cấu trúc tham số
Click (CurrentIndex As Long)
OLEStartDrag (Data As DataObject, AllowedEffects As Long)
OLESetData (Data As DataObject, DataFormat As Integer)
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)
Change (None)
FeedItem (ListItem As String, ByVal iPosition As Long)
FeedList (ArrayItem()
DblClick (None)
RedrawBackground (lhDC As Long, vWidth As Long, vHeight As Long)
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)
RePaintList (hwnd As Long, lhDC As Long, plDraw As Long, cLeft As Long, cTop As Long, cRight As Long, cBottom 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)
FeedItem (mList, Index)
FeedItem (mList, Index)
FeedItem (mList, Index)
FeedItem (mList, Index)
Click (m_ListIndex)
KeyDown (KeyCode, Shift)
KeyPress (KeyAscii)
KeyUp (KeyCode, Shift)
MouseDown (Button, Shift, X, Y)
MouseMove (Button, Shift, X, Y)
MouseUp (Button, Shift, X, Y)
OLEDragDrop (Data, Effect, Button, Shift, X, Y)
RePaintList (hwnd, hdc, 0, lRECT.Left, lRECT.TOp, lRECT.Right, lRECT.Bottom)
RePaintList (hwnd, hdc, 0, lRECT.Left, lRECT.TOp, lRECT.Right, lRECT.Bottom)
RedrawBackground (picList.hdc, picList.ScaleWidth, picList.ScaleHeight)
FeedList (m_Item, IIf(SolgItem <= MaxItem, SolgItem, MaxItem)
RePaintList (StrPtr(mText)
RePaintList (StrPtr(mText)
RePaintList (StrPtr(mText)
RePaintList (StrPtr(mText)
RaPaintScroll (lhWnd, lhDC, X1, Y1, x2, y2, ePart, eState, sVertical)
OLEStartDrag (Data, AllowedEffects)
OLESetData (Data, DataFormat)
OLEGiveFeedback (Effect, DefaultCursors)
OLEDragOver (Data, Effect, Button, Shift, X, Y, State)
OLECompleteDrag (Effect)