Quay lại trang chủ

UniCalender

Control UniCalender.ctl

Component Type ActiveX UserControl
Properties Methods Events

Thuộc tính (Properties)

Tên Kiểu Mô tả chuyên sâu
ActiveDate 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...
Value Date Dữ liệu mô tả đang được cập nhật...
MonthX Integer Dữ liệu mô tả đang được cập nhật...
DayX Integer Dữ liệu mô tả đang được cập nhật...
DateType DateType Dữ liệu mô tả đang được cập nhật...
YearX Integer Dữ liệu mô tả đang được cập nhật...
WeekNames String Dữ liệu mô tả đang được cập nhật...
LongWeekNames String Dữ liệu mô tả đang được cập nhật...
MonthNames 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...
Style DQHStyle Dữ liệu mô tả đang được cập nhật...
CalendarType CalendarType Dữ liệu mô tả đang được cập nhật...
ShowToday Boolean Dữ liệu mô tả đang được cập nhật...
ShowNone 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 AboutControls (None)

Sự kiện (Events)

Tên sự kiện Cấu trúc tham số
DateChange (None)
ReDrawDate (hwnd As Long, lhDC As Long, State As Integer, plDraw As Integer, cLeft As Long, cTop As Long, cRight As Long, cBottom As Long)
RePaintScroll (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)
ReDrawDate (hwnd, hdc, IIf(bFocus, 3, 0)
ReDrawDate (pChoose.hwnd, pChoose.hdc, 0, 1, 0, 0, pChoose.ScaleWidth, pChoose.ScaleHeight)
ReDrawDate (pChoose.hwnd, pChoose.hdc, 0, 2, Val(LeftX)
ReDrawDate (pChoose.hwnd, pChoose.hdc, 0, 2, Val(LeftX)
ReDrawDate (picCalendar.hwnd, picCalendar.hdc, 0, 1, 0, 0, picCalendar.ScaleWidth, picCalendar.ScaleHeight)
ReDrawDate (picCalendar.hwnd, picCalendar.hdc, 1, 1, 5, 30, picCalendar.ScaleWidth - 5, 51)
ReDrawDate (picCalendar.hwnd, picCalendar.hdc, 0, 2, CLng(LeftX)
ReDrawDate (picCalendar.hwnd, picCalendar.hdc, 1, 2, CLng(LeftX)
ReDrawDate (picCalendar.hwnd, picCalendar.hdc, 2, 2, CLng(LeftX)
ReDrawDate (picCalendar.hwnd, picCalendar.hdc, 3, 2, CLng(LeftX)
ReDrawDate (hwnd, lhDC, State, 1, cLeft, cTop, cRight, cBottom)