Quay lại trang chủ

UniButton

Control UniButton.ctl

Component Type ActiveX UserControl
Properties Methods Events

Thuộc tính (Properties)

Tên Kiểu Mô tả chuyên sâu
Transparent Integer Dữ liệu mô tả đang được cập nhật...
Caption String Returns/sets the text displayed in an object's title bar or below an object's icon.
Languages LanguagesCT Dữ liệu mô tả đang được cập nhật...
ButtonType DQHStyle 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...
ForecolorSelected OLE_COLOR Dữ liệu mô tả đang được cập nhật...
DrawFocus Boolean Dữ liệu mô tả đang được cập nhật...
Picture ListImage Dữ liệu mô tả đang được cập nhật...
PictureAlignment IconAlignment Dữ liệu mô tả đang được cập nhật...
PictureSize Integer 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...
hwnd Long Dữ liệu mô tả đang được cập nhật...
ButtonColor 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...
ParentCtl Object Dữ liệu mô tả đang được cập nhật...
UniToolTipText 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...
UseMaskColor Boolean Dữ liệu mô tả đang được cập nhật...
MaskColor OLE_COLOR Dữ liệu mô tả đang được cập nhật...
Theme String Dữ liệu mô tả đang được cập nhật...
EnableDoubleClick Boolean Dữ liệu mô tả đang được cập nhật...
MakeUp 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 Background (ByVal ADIB As cMemDC)
Sub Move (ByVal vbLeft As Long, Optional vbTop As Long, Optional vbWidth As Long, Optional vbHeight As Long)
Sub Refresh (None)
Sub ShowAbout (None)

Sự kiện (Events)

Tên sự kiện Cấu trúc tham số
Click (None)
MouseExit (None)
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)
KeyDown (KeyCode As Integer, Shift As Integer)
KeyPress (KeyAscii As Integer)
KeyUp (KeyCode As Integer, Shift As Integer)
RePaintButton (hwnd As Long, lhDC As Long, State As Integer, bFocus As Boolean, bHotMove As Boolean, cLeft As Long, cTop As Long, cRight As Long, cBottom As Long)
MouseDown (Button, Shift, X, Y)
MouseMove (Button, Shift, X, Y)
MouseUp (Button, Shift, X, Y)
RePaintButton (hwnd, m_DC.hdc, sState, bFocus, bHot, 0, 0, ScaleWidth, ScaleHeight)
KeyDown (KeyCode, Shift)
KeyPress (KeyAscii)
KeyUp (KeyCode, Shift)