Quay lại trang chủ

UniTextBox

Control UniTextBox.ctl

Component Type ActiveX UserControl
Properties Methods Events

Thuộc tính (Properties)

Tên Kiểu Mô tả chuyên sâu
Alignment AlignmentConstants Dữ liệu mô tả đang được cập nhật...
Appearance AppearanceConstants 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 txtBorderStyle Dữ liệu mô tả đang được cập nhật...
CaptureEnter Boolean Dữ liệu mô tả đang được cập nhật...
CaptureEsc Boolean Dữ liệu mô tả đang được cập nhật...
CaptureTab Boolean 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...
hdc Long Dữ liệu mô tả đang được cập nhật...
HideSelection 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...
Locked Boolean Dữ liệu mô tả đang được cập nhật...
MaxLength Long Dữ liệu mô tả đang được cập nhật...
Modified Boolean Dữ liệu mô tả đang được cập nhật...
MouseIcon IPictureDisp Dữ liệu mô tả đang được cập nhật...
MousePointer MousePointerConstants Dữ liệu mô tả đang được cập nhật...
MultiLine Boolean Dữ liệu mô tả đang được cập nhật...
PasswordChar String Dữ liệu mô tả đang được cập nhật...
RightToLeft Boolean Dữ liệu mô tả đang được cập nhật...
ScrollBars ScrollBarConstants Dữ liệu mô tả đang được cập nhật...
ScrollHorizontal Long Dữ liệu mô tả đang được cập nhật...
ScrollVertical Long Dữ liệu mô tả đang được cập nhật...
SelLength Long Dữ liệu mô tả đang được cập nhật...
SelStart Long Dữ liệu mô tả đang được cập nhật...
SelectTextAll Boolean Dữ liệu mô tả đang được cập nhật...
SelText String Dữ liệu mô tả đang được cập nhật...
Text String Dữ liệu mô tả đang được cập nhật...
UseEvents 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...
CaptureTypingUnicode Boolean Dữ liệu mô tả đang được cập nhật...
UTF8Mode Boolean Dữ liệu mô tả đang được cập nhật...
UniToolTipText String Dữ liệu mô tả đang được cập nhật...
FixedHeight 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)
Function CanUndo (None)
Sub ClearUndo (None)
Function FirstVisibleLine (None)
Function GetLine (Optional ByVal Line As Long, Optional ByVal MaxLength As Integer = 1024)
Sub GetSel (ByRef SelStart As Long, ByRef SelEnd As Long)
Function LastVisibleLine (None)
Function Length (None)
Function Line (Optional ByVal Selection As UniTextSelectionPosition = [Selection Start])
Function LineHeight (None)
Function Lines (None)
Function MouseOver (None)
Sub ScrollToCaret (None)
Function SetTextLength (ByVal iStart As Integer, ByVal iLength As Integer)
Sub SetSel (ByVal SelStart As Long, ByVal SelEnd As Long)
Sub Undo (None)
Sub Aboutbox (None)

Sự kiện (Events)

Tên sự kiện Cấu trúc tham số
Change (None)
Click (None)
ContextMenu (Cancel As Boolean)
DblClick (None)
FontChanged (None)
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)
MouseEnter (None)
MouseLeave (None)
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)
MouseWheel (ByVal Wheel As UniTextMouseWheel, ByVal Shift As Integer)
Repaint (ByVal hwnd As Long, ByVal lhDC As Long, ByVal plDraw As Integer, ByVal X As Long, ByVal Y As Long, ByVal X1 As Long, ByVal Y1 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)
Scroll (ByVal Direction As Integer)
SelectionChange (None)
Update (None)
Repaint (UserControl.hwnd, UserControl.hdc, 0, 0, 0, ScaleWidth, ScaleHeight)
KeyPress (intChar)
KeyPress (vbKeyEscape)
RaPaintScroll (0, hdc, X1, Y1, x2, y2, Part, IIf(Pressed, ppsPressed, IIf(bMove, ppsHot, ppsNormal)
Repaint (UserControl.hwnd, UserControl.hdc, 1, 0, 0, ScaleWidth, ScaleHeight)
Repaint (UserControl.hwnd, UserControl.hdc, 0, 0, 0, ScaleWidth, ScaleHeight)
Repaint (UserControl.hwnd, UserControl.hdc, 0, 0, 0, ScaleWidth, ScaleHeight)
TypeName (Me)
KeyDown (intChar, intShift)
KeyUp (intChar, intShift)
KeyPress (intChar)
ContextMenu (bHandled)
MouseDown (CInt(Button)
Scroll (vbVertical)
Scroll (vbHorizontal)
MouseMove (CInt(Button)
MouseWheel ([Wheel Up], Private_GetShiftMask)
MouseWheel ([Wheel Down], Private_GetShiftMask)
MouseUp (CInt(Button)
MouseUp (CInt(Button)
MouseUp (CInt(Button)