@...RICHEDITBOX DEFINE RICHEDITBOX
|
![]() ![]() ![]() |
Creates a RichEditBox control.
SYNTAX
Standard Window:
@ <nRow>,<nCol> RICHEDITBOX <ControlName>
[ OF | PARENT> <ParentWindowName> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ FILE <file> ]
[ VALUE <cValue> ]
[ READONLY ]
[ FONT <cFontName> ]
[ SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTip> ]
[ BACKCOLOR <aBackColor> ]
[ FONTCOLOR <aFontColor> ]
[ MAXLENGTH <nMaxLength> ]
[ ON GOTFOCUS <OnGotFocusProcedur> | <bBlock> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON SELECT <OnSelectProcedure> | <bBlock> ]
[ ON LOSTFOCUS <OnLostFocusProcedur> | <bBlock> ]
[ ON VSCROLL <OnVScrollProcedur> | <bBlock> ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ NOTABSTOP ]
[ PLAINTEXT]
[ NOHSCROLL]
[ NOVSCROLL]
FIELD VERSION
@ <nRow>,<nCol> RICHEDITBOX <ControlName>
[ OF | PARENT> <ParentWindowName> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
FIELD <file>
[ VALUE <cValue> ]
[ READONLY ]
[ FONT <cFontName> ]
[ SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTip> ]
[ BACKCOLOR <aBackColor> ]
[ FONTCOLOR <aFontColor> ]
[ MAXLENGTH <nMaxLength> ]
[ ON GOTFOCUS <OnGotFocusProcedur> | <bBlock> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON SELECT <OnSelectProcedure> | <bBlock> ]
[ ON LOSTFOCUS <OnLostFocusProcedur> | <bBlock> ]
[ ON VSCROLL <OnVScrollProcedur> | <bBlock> ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ NOTABSTOP ]
[ PLAINTEXT]
[ NOHSCROLL]
[ NOVSCROLL]
SPLITBOX VERSION
RICHEDITBOX
<ControlName>
[ OF | PARENT> <ParentWindowName> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ FILE <file> ]
[ VALUE <cValue> ]
[ READONLY ]
[ FONT <cFontName> ]
[ SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTip> ]
[ BACKCOLOR <aBackColor> ]
[ FONTCOLOR <aFontColor> ]
[ MAXLENGTH <nMaxLength> ]
[ ON GOTFOCUS <OnGotFocusProcedur> | <bBlock> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON SELECT <OnSelectProcedure> | <bBlock> ]
[ ON LOSTFOCUS <OnLostFocusProcedur> | <bBlock> ]
[ ON VSCROLL <OnVScrollProcedur> | <bBlock> ]
[ HELPID <nHelpId> ]
[ BREAK ]
[ INVISIBLE ]
[ NOTABSTOP ]
[ PLAINTEXT]
[ NOHSCROLL]
[ NOVSCROLL]
Alternate Syntax:
DEFINE RICHEDITBOX <ControlName>
[ ID <nId> ]
[ PARENT <ParentWindowName> ]
COL <nCol>
ROW <nRow>
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ FILE <file> ]
[ VALUE <cValue> ]
[ READONLY ]
[ FONTNAME <cFontname>
[ FONTSIZE <nFontsize> ]
[ FONTBOLD < .T. | .F.> ]
[ FONTITALIC < .T. | .F.> ]
[ FONTUNDERLINE < .T. | .F.> ]
[ FONTSTRIKEOUT < .T. | .F.> ]
[ TOOLTIP <cToolTip> ]
[ BACKCOLOR <aBackColor> ]
[ FONTCOLOR <aFontColor> ]
[ MAXLENGTH <nMaxLength> ]
[ ONGOTFOCUS <OnGotFocusProcedur> | <bBlock> ]
[ ONCHANGE <OnChangeProcedure> | <bBlock> ]
[ ONSELECT <OnSelectProcedure> | <bBlock> ]
[ ONLOSTFOCUS <OnLostFocusProcedur> | <bBlock> ]
[ ONVSCROLL <OnVScrollProcedur> | <bBlock> ]
[ HELPID <nHelpId> ]
[ INVISIBLE < .T. | .F.> ]
[ NOTABSTOP < .T. | .F.> ]
[ PLAINTEXT < .T. | .F.> ]
[ NOHSCROLLBAR < .T. | .F.> ]
[ NOVSCROLLBAR< .T. | .F.> ]
END RICHEDITBOX
PROPERTIES:
Set / Gets RichEditBox value.
| |
Set / Gets enabled state of a RichEditBox control
| |
Set / Gets visible a RichEditBox control.
| |
Set / Gets row position of
a RichEditBox control.
| |
Set / Gets column position of a RichEditBox control.
| |
Set / Gets width of a RichEditBox control.
| |
Set / Gets height of a RichEditBox control.
| |
Set / Gets RichEditBox control's font name.
| |
Set / Gets RichEditBox control's font size.
| |
Set / Gets RichEditBox control's font bold property
| |
Set / Gets RichEditBox control's font italic property
| |
Set / Gets RichEditBox control's font underline property
| |
Set / Gets RichEditBox control's font strikeout property
| |
Set / Gets the foreground color for text within the RichEditBox
| |
Set / Gets the background color for text within the RichEditBox
| |
Set / Gets RichEditBox control's tooltip text.
| |
Set / Gets user property 'Cargo' for RichEditBox control
| |
Retrieves the name of a RichEditBox control.
| |
· Parent (D)
|
Set the name as character identifier of the parent window.
|
Set the numeric help topic identifier of the control.
| |
· AutoFont
|
Set /Gets autofont property, if this flag is set, the RichEditBox
automatically changes fonts when the user explicitly changes to
a different keyboard layout.
|
· ReadOnly (D)
|
Set the RichEditBox control's readonly property
|
·
MaxLength (D))
|
|
· NoTabStop (D)
|
Sets whether an element behavior can't receive focus and
participate in the tabbing sequence
|
·
RichValue
|
|
·
RichValue(nType)
|
|
·
Break (D)
|
Control passes to the statement that follows the terminated
statement.
|
D: Available
at control definition only
R: Read-Only
Values of nType:
1
|
RICHVALUE_TEXT
|
ANSI characters only
|
2
|
RICHVALUE_RTF
|
RTF format *** DEFAULT ***
|
3
|
RICHVALUE_UNICODE_TEXT
|
Unicode text, UTF-16LE
|
4
|
RICHVALUE_UTF8_TEXT
|
Unicode text, UTF-8
|
5
|
RICHVALUE_UTF8_RTF
|
UTF-8 RTF format
|
6
|
RICHVALUE_UTF7_TEXT
|
Unicode text, UTF-7
|
EVENTS:
An action to be performed when getting the focus
| |
An action to be performed when generic changing of the control
| |
An action to be performed when losing the focus.
| |
· OnScroll
|
|
METHODS:
Shows a RichEditBox
control
| |
Hides a RichEditBox control
| |
Gives the focus to a RichEditBox control
| |
Releases a RichEditBox control from memory
| |
Repaint a RichEditBox
control
| |
Save data for EditBox RichEditBox
| |
Save a RichEditBox control as BitMap file.
|