Quay lại trang chủ

UniToolbar

Control UniToolbar.ctl

Component Type ActiveX UserControl
Properties Methods Events

Thuộc tính (Properties)

Tên Kiểu Mô tả chuyên sâu
ButtonHeight Long Dữ liệu mô tả đang được cập nhật...
Caption String Dữ liệu mô tả đang được cập nhật...
Buttons Buttons Dữ liệu mô tả đang được cập nhật...
ListImages ListImages Dữ liệu mô tả đang được cập nhật...
GetButtonsWidth Long Dữ liệu mô tả đang được cập nhật...
LocationButtonHide Long Dữ liệu mô tả đang được cập nhật...
ParentCtl Object Dữ liệu mô tả đang được cập nhật...
IconAlign ToolbarIconAlign Dữ liệu mô tả đang được cập nhật...
Font Font Dữ liệu mô tả đang được cập nhật...
hwnd Long 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...
BackColor OLE_COLOR Dữ liệu mô tả đang được cập nhật...
ImageListName String Dữ liệu mô tả đang được cập nhật...
ToolbarStyle Types Dữ liệu mô tả đang được cập nhật...
OwnerDraw Boolean Dữ liệu mô tả đang được cập nhật...
ShowRebar Boolean Dữ liệu mô tả đang được cập nhật...
Theme String Dữ liệu mô tả đang được cập nhật...
DrawBackground Boolean Dữ liệu mô tả đang được cập nhật...
OLEDropMode OLEDropConstants 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 MenuPopup (ByVal Menu As Object, uButton As UnicodeFullControls.Button)
Sub PopupMenu (ByVal Menu As ToolbarMenu, ByVal X As Long, ByVal Y As Long)
Sub ShowPopupMenu (uButton As UnicodeFullControls.Button)
Sub Background (ByVal ADIB As cMemDC)
Sub SaveButtons (ByVal Filename As String)
Sub LoadButtons (ByVal Filename As String)
Sub CreateImageList (ByVal lWidth As Long, ByVal lHeight As Long)
Sub Refresh (None)
Sub Aboutbox (None)

Sự kiện (Events)

Tên sự kiện Cấu trúc tham số
ItemClick (ButtonReturn As Button, ItemLeft As Long, ItemTop As Long, ItemWidth As Long, ItemHeight As Long)
Change (None)
WidthChange (None)
ChangeResize (None)
MenuClick (Menu As ToolbarMenu)
ReturnValueChange (ButtonReturn As Button)
ItemDropDownClick (ButtonReturn As Button, ItemLeft As Long, ItemTop As Long, ItemWidth As Long, ItemHeight As Long)
RebarMove (X As Single, Y As Single)
OwnerDraw (ByVal hwnd As Long, ByVal lhDC As Long, ByVal plDraw As Integer, ByVal ItemIndex As Long, ByVal ItemLeft As Long, ByVal ItemTop As Long, ByVal ItemWidth As Long, ByVal ItemHeight As Long, ByVal tbStatus As Long, ByVal tbWidth As Long, ByVal tbHeight As Long, ByVal tbME As UniToolbar)
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)
MenuClick (ObjInPtr(Ptr)
ReturnValueChange (uButton)
RebarMove (X, Y)
ItemClick (m_Buttons(i)
ItemDropDownClick (m_Buttons(i)
ItemDropDownClick (m_Buttons(i)
ItemClick (m_Buttons(i)
OLECompleteDrag (Effect)
OLEDragDrop (Data, Effect, Button, Shift, X, Y)
OLEDragOver (Data, Effect, Button, Shift, X, Y, State)
OLEGiveFeedback (Effect, DefaultCursors)
OLEStartDrag (Data, AllowedEffects)
OwnerDraw (hwnd, hdc, 1, CLng(i)
OwnerDraw (hwnd, hdc, 2, CLng(i)
OwnerDraw (hwnd, hdc, 3, CLng(i)
OwnerDraw (hwnd, hdc, 7, CLng(i)
OwnerDraw (hwnd, hdc, 5, CLng(i)
OwnerDraw (hwnd, hdc, 4, CLng(i)
OwnerDraw (hwnd, hdc, 5, CLng(i)
OwnerDraw (hwnd, hdc, 6, CLng(i)
OwnerDraw (hwnd, hdc, 8, CLng(i)
OwnerDraw (hwnd, hdc, -1, CLng(i)
OwnerDraw (hwnd, hdc, 9, CLng(i)
OwnerDraw (hwnd, hdc, 0, -1, 0, 0, ScaleWidth, ScaleHeight, 0, ScaleWidth, ScaleHeight, Extender)