@...DATEPICKER / DEFINE DATEPICKER
Creates a DatePicker control

 

 

 

Standard Syntax (xBase Style):

 

 

      @ <nRow> ,<nCol>

            DATEPICKER<ControlName>

            [ OF | PARENT <cParentWindowName> ]

            [ VALUE <dValue> ]

            [ FIELD <FieldName> ]

            [ WIDTH <nWidth> ]

            [ FONT <cFontName> SIZE <nFontSize> ]

            [ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]

            [ TOOLTIP <cToolTipText> ]

            [ SHOWNONE ]

            [ UPDOWN ]

            [ RIGHTALIGN ]

            [ ON GOTFOCUS <OnGotFocusProcedur> | <bBlock> ]

            [ ON CHANGE <OnChangeProcedure> | <bBlock> ]

            [ ON LOSTFOCUS <OnLostFocusProcedure> | <bBlock> ]

            [ HELPID <nHelpId> ]

            [ ON ENTER <OnEnterProcedure> | <bBlock> ]

            [ INVISIBLE ]

            [ NOTABSTOP ]

 

 

Alternate Syntax:

 

 

      DEFINE DATEPICKER <ControlName>

            PARENT <ParentWindowName>

            ROW <nValue> 

            COL <nValue>

            WIDTH <nValue>

            HEIGHT <nValue>

            FONTNAME <cValue>

            FONTSIZE <nValue>

            FONTBOLD <lValue>

            FONTITALIC <lValue>

            FONTUNDERLINE <lValue>

            FONTSTRIKEOUT <lValue>

            TOOLTIP <cValue>

            ONGOTFOCUS <ActionProcedure>

            ONLOSTFOCUS <ActionProcedure>

            ONCHANGE <ActionProcedure>

            TABSTOP <lValue>

            HELPID <nValue>

            VISIBLE <lValue>

            VALUE <dValue>

            SHOWNONE <lValue>

            UPDOWN <lValue>

            RIGHTALIGN <lValue>

            ONENTER <ActionProcedure>

      END DATEPICKER

 

 

Properties:

 

 

      - Value

      - Enabled

      - Visible

      - Row

      - Col

      - Width

      - Height

      - FontName

      - FontSize

      - FontBold

      - FontItalic

      - FontUnderline

      - FontStrikeout

      - ToolTip

      - Name (R)

      - Field (D)

      - Parent (D)

      - ShowNone (D)

      - UpDown (D)

      - RightAlign (D)

      - HelpId (D)

      - TabStop (D)

 

      D: Available at control definition only

      R: Read-Only

 

 

Events:

 

 

      - OnGotFocus

      - OnChange

      - OnLostFocus

 

 

Methods:

 

 

      - Show

      - Hide

      - SetFocus

      - Release

      - Save

      - Refresh