Quay lại trang chủ

UniOption

Control UniOption.ctl

Component Type ActiveX UserControl
Properties Methods Events

Thuộc tính (Properties)

Tên Kiểu Mô tả chuyên sâu
Value Boolean Dữ liệu mô tả đang được cập nhật...
Default OLE_OPTEXCLUSIVE 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...
BackColor OLE_COLOR Returns/sets the background color used to display text and graphics in an object.
Font Font Returns a Font object.
ForeColor OLE_COLOR Returns/sets the foreground color used to display text and graphics in an object.
hdc Long Returns a handle (from Microsoft Windows) to the object's device context.
hwnd Long Returns a handle (from Microsoft Windows) to an object's window.
MouseIcon Picture Sets a custom mouse icon.
MousePointer MousePointerConstants Returns/sets the type of mouse pointer displayed when over part of an object.
Style DQHStyle Dữ liệu mô tả đang được cập nhật...
Enabled Boolean Returns/sets a value that determines whether an object can respond to user-generated events.
AutoSize Boolean Dữ liệu mô tả đang được cập nhật...
Alignment AlignmentOC Dữ liệu mô tả đang được cập nhật...
UniToolTipText String Dữ liệu mô tả đang được cập nhật...
Theme String 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 SetFocus (None)
Sub PopupMenu (ByVal Menu As Object, Optional ByVal Flags As Variant, Optional ByVal X As Variant, Optional ByVal Y As Variant, Optional ByVal DefaultMenu As Variant)
Sub AboutControls (None)

Sự kiện (Events)

Tên sự kiện Cấu trúc tham số
Click (None)
MouseOut (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)
KeyPress (KeyAscii As Integer)
KeyDown (KeyCode As Integer, Shift As Integer)
KeyUp (KeyCode As Integer, Shift As Integer)
RePaintOption (hwnd As Long, lhDC As Long, State As Integer, plDraw As Integer, cLeft As Long, cTop As Long, cRight As Long, cBottom As Long)
RePaintOption (hwnd, hdc, CInt(j)
RePaintOption (hwnd, hdc, CInt(j)
KeyDown (KeyCode, Shift)
KeyPress (KeyAscii)
KeyUp (KeyCode, Shift)
MouseDown (Button, Shift, X, Y)
MouseMove (Button, Shift, X, Y)
MouseUp (Button, Shift, X, Y)