@...RICHEDITBOX / DEFINE RICHEDITBOX
Creates a RichEditBox Control

 

 

 

Standard Syntax (xBase Style):

 

 

      @ <nRow>,<nCol> RICHEDITBOX <ControlName>

            [ OF | PARENT> <ParentWindowName> ]

            [ WIDTH <nWidth> ]

            [ HEIGHT <nHeight> ]

            [ FIELD <Field> ]

            [ VALUE <cValue> ]

            [ READONLY ]

            [ FONT <cFontName> ]

            [ SIZE <nFontSize> ]

            [ BOLD ]

            [ ITALIC ]

            [ UNDERLINE ]

            [ STRIKEOUT ]

            [ TOOLTIP <cToolTip> ]

            [ BACKCOLOR <aBackColor> ]

            [ MAXLENGTH <nMaxLength> ]

            [ ON GOTFOCUS <OnGotFocusProcedur> | <bBlock> ]

            [ ON CHANGE <OnChangeProcedure> | <bBlock> ]

            [ ON LOSTFOCUS <OnLostFocusProcedur> | <bBlock> ]

            [ HELPID <nHelpId> ]

            [ INVISIBLE ]

            [ NOTABSTOP ]

 

 

Alternate Syntax:

 

 

      DEFINE RICHEDITBOX <ControlName>

            PARENT <ParentWindowName>

            ROW <nValue> 

            COL <nValue>

            WIDTH <nWidth>

            HEIGHT <nHeight>

            FIELD <Field>

            VALUE <cValue>

            READONLY <lValue>

            FONTNAME <cFontName>

            FONTSIZE <nFontSize>

            FONTBOLD <lvalue>

            FONTITALIC <lValue>

            FONTUNDERLINE <lValue>

            FONTSTRIKEOUT <lValue>

            TOOLTIP <cToolTip>

            BACKCOLOR <aBackColor>

            MAXLENGTH <nMaxLength>

            ONGOTFOCUS <OnGotFocusProcedure>

            ONCHANGE <OnChangeProcedure>

            ONLOSTFOCUS <OnLostFocusProcedure>

            HELPID <nHelpId>

            VISIBLE <lValue>

            TABSTOP <lValue>

      END RICHEDITBOX

 

 

Properties:

 

 

      - Value

      - Enabled

      - Visible

      - Row

      - Col

      - Width

      - Height

      - FontName

      - FontSize

      - FontBold

      - FontItalic

      - FontUnderline

      - FontStrikeout

      - ToolTip

      - BackColor

      - CaretPos

      - Name (R)

      - Field (D)

      - Parent (D)

      - ReadOnly

      - MaxLength (D)

      - HelpId (D)

      - Break (D)

      - TabStop (D)

 

      D: Available at control definition only

      R: Read-Only

 

 

Events:

 

 

      - OnGotFocus

      - OnChange

      - OnLostFocus

 

 

Methods:

 

 

      - Show

      - Hide

      - SetFocus

      - Release

      - Save

      - Refresh