PPJ Web API
HomeCurrent IssuesDownloads
  • Welcome
  • Concepts
  • PPJ.Web.49
    • General
      • Sal
      • Sys
      • SalApplication
      • SalNamedProperties
      • SalWindow
      • WindowActionsEventArgs
      • SalXML
    • COM
      • SalCoClass
      • SalObject
      • SalOleErrorInfo
      • SalSafeArray
      • SalVariant
      • stdole_Font
      • stdole_Picture
      • stdole_StdFont
      • stdole_StdPicture
    • Controls
      • SalBackgroundText
      • SalCheckBox
      • SalComboBox
      • SalContext
      • SalCustomControl
      • SalDataField
        • DataType
      • SalFrame
      • SalGeneralWindow
      • SalGroupBox
      • SalGroupSeparator
      • SalHorizontalScrollBar
      • SalLine
      • SalListBox
      • SalMultilineField
      • SalNavigationBar
      • SalOptionButton
        • OptionButtonStyle
      • SalPicture
        • ImageStorage
      • SalPushbutton
      • SalRadioButton
      • SalTimer
      • SalTreeControl
        • SalTreeItem
      • SalUserControl
      • SalVerticalScrollBar
    • Forms
      • AccessoryType
      • SalDialogBox
      • SalForm
      • SalFormClientArea
      • SalFormStatusBar
      • SalFormTableWindow
      • SalFormToolBar
      • SalFormWindow
      • SalMDIWindow
      • SalRibbonBarBase
      • SalRibbonBarForm
      • SalRibbonBarMDI
    • Interfaces
      • ISalType
      • ISalAccessory
      • ISalControl
      • ISalEditControl
      • ISalListControl
      • ISalListItem
      • ISalMenu
      • ISalPictureControl
      • ISalRadioButton
      • ISalReport
      • ISalWindow
    • Menus
      • SalContextMenu
      • SalFormMainMenu
      • SalMenuItem
      • SalMenuSeparator
      • SalPopupMenu
      • SalWindowsMenu
    • QO
      • SalQuickTabs
      • SalQuickTabsDialog
      • SalQuickTabsForm
      • SalQuickTabsParent
      • SalQuickTabsParentDialog
      • SalQuickTabsParentForm
    • Sql
      • SalSqlBindVariables
      • SalSqlError
      • SalSqlHandle
      • SalSqlSessionHandle
      • Sql
      • SqlContext
      • SqlOra
      • WhenSqlError
    • Types
      • SalArray<T>
      • SalBinary
      • SalBoolean
      • SalDateTime
      • SalFileHandle
      • SalFunctionalClass
      • SalNumber
      • SalResource
      • SalString
      • SalStringContext
      • SalWindowHandle
  • PPJ.Web.Vis.49
    • General
      • Vis
      • VisTblEx
    • Controls
      • VisCalendar
      • VisCalendarDropDown
      • VisColorComboBox
      • VisColorListBox
      • VisComboBoxBase
      • VisDesktopListBox
      • VisDirListBox
      • VisDirTreeListBox
      • VisDriveComboBox
      • VisDriveListBox
      • VisDropDownBase
      • VisFileListBox
      • VisFontComboBox
      • VisFontListBox
      • VisFontNameComboBox
      • VisFontNameListBox
      • VisListBoxBase
      • VisListBoxExtension
      • VisListView
      • VisListViewDropDown
      • VisMeter
      • VisOutlineComboBox
      • VisOutlineListBox
      • VisPictureComboBox
      • VisPictureListBox
      • VisPoint
      • VisRadioListBox
      • VisRect
      • VisSize
      • VisSpinField
      • VisSplitter
      • VisSplitterWindow
        • Orientation
  • PPJ.Web.XSal.49
    • General
      • XSal
      • XSalScript
    • Controls
      • XSalFlatButton
      • XSalHSplitter
      • XSalSplitter
      • XSalToolbar
      • XSalToolbox
      • XSalVSplitter
Powered by GitBook
On this page
  • Constructors
  • VisCalendar()
  • Properties
  • NamedProperties
  • Text
  • Methods
  • BringWindowToTop()
  • CenterWindow()
  • ClearCursor(nType)
  • ClearSpecialDates()
  • DestroyWindow()
  • DisableWindow()
  • EnableWindow()
  • FindChild(sWindowName)
  • FormUnitsToPixels(nFormUnits, bVertical)
  • FromHandle(hWnd)
  • GetClassName()
  • GetColor(nColorRole)
  • GetControlType()
  • GetFirstChild(nTypeMask)
  • GetFocusDate(lpdtDateTime)
  • GetFont(sName, nSize, nEnhancement)
  • GetLocation(nX, nY)
  • GetName(sText)
  • GetName()
  • GetNextChild(nTypeMask)
  • GetParent()
  • GetProperty(sName, sValue)
  • GetProperty(sName)
  • GetSelectedDates(dtDates)
  • GetSize(nWidth, nHeight)
  • GetText(sText, nMaxLen)
  • GetText(nMaxLen)
  • GetWeekStart()
  • GetWindowColor(nColorIndex)
  • GetWindowState()
  • HideWindow()
  • InvalidateWindow()
  • IsDerivedFromClass(tClass)
  • IsEnabled()
  • IsSelectedDate(dtDate)
  • IsSpecialDate(nRuleType, dtSearch, nWeekDay, nSequence, nForegroundColor, nBackgroundColor)
  • IsVisible()
  • KillTimer(nIDEvent)
  • MoveWindow(nXOffset, nYOffset)
  • PixelsToFormUnits(nNumPixels, bVertical)
  • PostMessage(nMsg, nMywParam, nMylParam)
  • RemoveAllBoldedDates()
  • SelectDate(dtDate, fSelect)
  • SelectDates(dtDates, fSelect)
  • SendMessage(nMsg, nMywParam, nMylParam)
  • SendMessageToChildren(nMsg, nMywParam, nMylParam)
  • SetColor(nColorRole, nNewColor)
  • SetContextMenu(sMenuName, nFlags)
  • SetContextMenu(menuType, nFlags)
  • SetCursor(nResourceId, nType)
  • SetCursor(sBlob, nType)
  • SetCursorFile(sFile, nType)
  • SetFocus()
  • SetFocusDate(dtNewFocus)
  • SetFont(sName, nSize, nEnhancement)
  • SetLocation(nX, nY)
  • SetProperty(sName, sValue, nLength)
  • SetSize(nWidth, nHeight)
  • SetSpecialDate(nRuleType, dtSearch, nWeekDay, nSequence, nForegroundColor, nBackgroundColor, fSelect)
  • SetText(sText)
  • SetTimer(nIDEvent, nElapseMilliSec)
  • SetWeekStart(nWeekday)
  • SetWindowColor(nColorIndex, nColor)
  • ShowWindow()
  • TrackPopupMenu(sMenuName, nFlags, nX, nY, callback)
  • TrackPopupMenu(menuType, nFlags, nX, nY, callback)
  • UpdateWindow()
  • Events
  • WindowActions
  • Implements
  1. PPJ.Web.Vis.49
  2. Controls

VisCalendar

PPJ.Runtime.Vis.VisCalendar

PreviousControlsNextVisCalendarDropDown

Last updated 2 years ago

Namespace: PPJ.Runtime.Vis

Assembly: PPJ.Web.Vis.49 (4.9.0.0)

Stand-alone Calendar

public class VisCalendar : MonthCalendar, ISalWindow
Public Class VisCalendar
    Inherits MonthCalendar
    Implements ISalWindow

Constructors

VisCalendar()

Default Constructor.

Properties

NamedProperties

: Returns the collection of named properties.

Text

Methods

Brings a window to the top of all overlapping windows.

Centers a window. If the window is a top-level window, it centers it on the desktop. If the window is a child window, it centers it on top of its parent.

Clears a window's cursor.

Parameter
Type
Description

nType

Removes all special dates.

Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.

Disables keyboard and mouse input to a window. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.

Enables keyboard and mouse input to a window.

This function finds a child window of a given name in the specified window.

Parameter
Type
Description

sWindowName

Computes the number of pixels in the number of form units. Form units are a unit of measurement used by functions which move and position objects. Form units are computed using physical units (pixels) in conjunction with the window's font size.

Parameter
Type
Description

nFormUnits

bVertical

Returns the control associated with the handle.

Parameter
Type
Description

hWnd

Return the name of a window's class as a string.

Gets the color assigned to the specified role.

Parameter
Type
Description

nColorRole

Returns an object's type.

Returns the handle of the first child window of the specified type. You can use this function to get the handles of MDI child windows.

Parameter
Type
Description

nTypeMask

Parameter
Type
Description

lpdtDateTime

Parameter
Type
Description

sName

nSize

nEnhancement

Parameter
Type
Description

nX

nY

Parameter
Type
Description

sText

Gets the name of an object.

Returns the handle of the next child window that matches a specified type.

Parameter
Type
Description

nTypeMask

Returns the handle of an object's parent window.

Parameter
Type
Description

sName

sValue

Gets the value of a named property.

Parameter
Type
Description

sName

Parameter
Type
Description

dtDates

Parameter
Type
Description

nWidth

nHeight

Parameter
Type
Description

sText

nMaxLen

Retrieves the text of a window.

Parameter
Type
Description

nMaxLen

Gets the starting weekday for the calendar

Gets a window's color.

Parameter
Type
Description

nColorIndex

Returns a window's current state.

Hides a window.

Causes a window to be repainted.

Determines whether a window is an instance of the specified class.

Parameter
Type
Description

tClass

Determines whether a window is enabled for mouse and keyboard input.

Determines whether specified date is selected.

Parameter
Type
Description

dtDate

Returns true if the specified special date is already set.

Parameter
Type
Description

nRuleType

dtSearch

nWeekDay

nSequence

nForegroundColor

nBackgroundColor

Determines whether a window is currently visible.

Destroys an object's system timer.

Parameter
Type
Description

nIDEvent

Moves a window a given number of form units on the X and Y axes relative to its current position.

Parameter
Type
Description

nXOffset

nYOffset

Computes the number of form units based on the number of pixels. Form units are a unit of measurement used by functions that move and position objects. Form units are computed using physical units (pixels) in conjunction with a window's font sizes.

Parameter
Type
Description

nNumPixels

bVertical

Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.

Parameter
Type
Description

nMsg

nMywParam

nMylParam

Deletes all bolded dates.

Selects/deselects specified date for control.

Parameter
Type
Description

dtDate

fSelect

Selects/deselects multiple dates for control.

Parameter
Type
Description

dtDates

fSelect

Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.

Parameter
Type
Description

nMsg

nMywParam

nMylParam

Sends a message to all child items of a form window, dialog box, table window, or MDI window.

Parameter
Type
Description

nMsg

nMywParam

nMylParam

Assigns a color to a specified role.

Parameter
Type
Description

nColorRole

nNewColor

Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.

Parameter
Type
Description

sMenuName

nFlags

Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.

Parameter
Type
Description

menuType

nFlags

Sets a window's cursor.

Parameter
Type
Description

nResourceId

nType

Sets a window's cursor from a string variable.

Parameter
Type
Description

sBlob

nType

Sets an application-defined cursor for the specified window. Use this function to set the cursor from an image stored in a file.

Parameter
Type
Description

sFile

nType

Sets the focus to a specified window.

Assigns the currently highlighted date for control.

Parameter
Type
Description

dtNewFocus

Sets a window's font, font size, and font enhancements.

Parameter
Type
Description

sName

nSize

nEnhancement

Moves a window to a new position (x, y) on the X and Y axes.

Parameter
Type
Description

nX

nY

Sets the value of a named property.

Parameter
Type
Description

sName

sValue

nLength

Resizes a window.

Parameter
Type
Description

nWidth

nHeight

Defines special dates rules. Special dates are shown bolded.

Parameter
Type
Description

nRuleType

dtSearch

nWeekDay

nSequence

nForegroundColor

nBackgroundColor

fSelect

Sets the text of a window.

Parameter
Type
Description

sText

Creates a system timer for a given object. When a timer event occurs, sends SAM_Timer messages to the object in specified intervals. Timers are a limited global resource. Your application must check the value returned by SalTimerSet to verify that the timer was created.

Parameter
Type
Description

nIDEvent

nElapseMilliSec

Sets the starting weekday for the calendar

Parameter
Type
Description

nWeekday

Sets a window's color.

Parameter
Type
Description

nColorIndex

nColor

Makes a window visible.

Creates pop-up menus at runtime.

Parameter
Type
Description

sMenuName

nFlags

nX

nY

callback

Creates pop-up menus at runtime.

Parameter
Type
Description

menuType

nFlags

nX

nY

callback

Forces the update of a window.

Events

Implements

Name
Description

: Returns/Sets the text value of the control. (Default: "")

BringWindowToTop()

Returns: .

CenterWindow()

Returns: .

ClearCursor(nType)

Returns: .

ClearSpecialDates()

Returns: .

DestroyWindow()

Returns: .

DisableWindow()

Returns: .

EnableWindow()

Returns: .

FindChild(sWindowName)

Returns: .

FormUnitsToPixels(nFormUnits, bVertical)

Returns: .

FromHandle(hWnd)

Returns: .

GetClassName()

Returns: .

GetColor(nColorRole)

Returns: .

GetControlType()

Returns: .

GetFirstChild(nTypeMask)

Returns: .

GetFocusDate(lpdtDateTime)

Returns: .

GetFont(sName, nSize, nEnhancement)

Returns: .

GetLocation(nX, nY)

Returns: .

GetName(sText)

Returns: .

GetName()

Returns: .

GetNextChild(nTypeMask)

Returns: .

GetParent()

Returns: .

GetProperty(sName, sValue)

Returns: .

GetProperty(sName)

Returns: .

GetSelectedDates(dtDates)

Returns: .

GetSize(nWidth, nHeight)

Returns: .

GetText(sText, nMaxLen)

Returns: .

GetText(nMaxLen)

Returns: .

GetWeekStart()

Returns: .

GetWindowColor(nColorIndex)

Returns: .

GetWindowState()

Returns: .

HideWindow()

Returns: .

InvalidateWindow()

Returns: .

IsDerivedFromClass(tClass)

Returns: .

IsEnabled()

Returns: .

IsSelectedDate(dtDate)

Returns: .

IsSpecialDate(nRuleType, dtSearch, nWeekDay, nSequence, nForegroundColor, nBackgroundColor)

Returns: .

IsVisible()

Returns: .

KillTimer(nIDEvent)

Returns: .

MoveWindow(nXOffset, nYOffset)

Returns: .

PixelsToFormUnits(nNumPixels, bVertical)

Returns: .

PostMessage(nMsg, nMywParam, nMylParam)

Returns: .

RemoveAllBoldedDates()

SelectDate(dtDate, fSelect)

Returns: .

SelectDates(dtDates, fSelect)

Returns: .

SendMessage(nMsg, nMywParam, nMylParam)

Returns: .

SendMessageToChildren(nMsg, nMywParam, nMylParam)

Returns: .

SetColor(nColorRole, nNewColor)

Returns: .

SetContextMenu(sMenuName, nFlags)

Returns: .

SetContextMenu(menuType, nFlags)

Returns: .

SetCursor(nResourceId, nType)

Returns: .

SetCursor(sBlob, nType)

Returns: .

SetCursorFile(sFile, nType)

Returns: .

SetFocus()

Returns: .

SetFocusDate(dtNewFocus)

Returns: .

SetFont(sName, nSize, nEnhancement)

Returns: .

SetLocation(nX, nY)

Returns: .

SetProperty(sName, sValue, nLength)

Returns: .

SetSize(nWidth, nHeight)

Returns: .

SetSpecialDate(nRuleType, dtSearch, nWeekDay, nSequence, nForegroundColor, nBackgroundColor, fSelect)

Returns: .

SetText(sText)

Returns: .

SetTimer(nIDEvent, nElapseMilliSec)

Returns: .

SetWeekStart(nWeekday)

Returns: .

SetWindowColor(nColorIndex, nColor)

Returns: .

ShowWindow()

Returns: .

TrackPopupMenu(sMenuName, nFlags, nX, nY, callback)

Returns: .

TrackPopupMenu(menuType, nFlags, nX, nY, callback)

Returns: .

UpdateWindow()

Returns: .

WindowActions

String
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalWindowHandle
SalNumber
VisCalendar
SalString
SalNumber
SalNumber
SalWindowHandle
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalString
SalWindowHandle
SalWindowHandle
SalBoolean
SalString
SalNumber
SalBoolean
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalNumber
SalNumber
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalWindowHandle
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
WindowActionsEventHandler
SalNumber
SalString
SalNumber
SalBoolean
SalWindowHandle
SalNumber
SalNumber
SalDateTime&
SalString&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalString&
SalNumber
SalString
SalString&
SalString
SalArray`1&
SalNumber&
SalNumber&
SalString&
SalNumber
SalNumber
SalNumber
Type
SalDateTime
SalNumber
SalDateTime
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalDateTime
SalBoolean
SalArray<SalDateTime>
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
Type
SalNumber
Int32
SalNumber
SalString
SalNumber
SalString
SalNumber
SalDateTime
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalDateTime
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
Action<ContextMenu>
Type
SalNumber
SalNumber
SalNumber
Action<ContextMenu>
ISalWindow
Control
MonthCalendar
VisCalendar
SalNamedProperties