About
RichTextBox? is a Control that can display text of many different colors and fonts together in the same Control. Underneath RichTextBox?'s formatting is based upon the RTF format.
Usage
RichTextBox? is mainly about using selections to modify what you want. On a side note you could edit the rtf property to get the source of all the formatting in RTF but it would be both inefficient and difficult to parse while editting selections will take a lot of the pain out of this for you.
Note that, by default, RichTextBox? doesn't handle tabs. This means that if you hit tab while inside of a RichTextBox?, focus will shift to the next control, rather than add a tab character into the text. To change this, simply use yourtextboxname.acceptsTab = true
somewhere, probably in your frames constructor, and afterwards you can use tabs no problem.
module dfl.richtextbox;
{
public final char[] linkText;
[property getter]
Inherited members
empty
}
{
public final bool canPaste(DataFormats.Format df);
public final bool canRedo;
[property getter]
public Cursor cursor;
[property getter]
public final void paste(DataFormats.Format df);
public final void redo();
public final char[] rtf;
[property getter]
public final char[] rtf;
[property setter]
public final RichTextBoxScrollBars scrollBars;
[property setter]
public final RichTextBoxScrollBars scrollBars;
[property getter]
Inherited members
acceptsTab
appendText
backColor
backColorChanged
borderStyle
bottom
bounds
bringToFront
bringUpOne
canFocus
canSelect
canUndo
capture
clear
clearUndo
click
clientRectangle
clientSize
contains
containsFocus
contextMenu
contextMenuChanged
controlAdded
ControlCollection
controlRemoved
controls
copy
createControl
createControlsInstance
created
createGraphics
createHandle
createParams
cursor
cursorChanged
cut
defaultBackColor
defaultFont
defaultForeColor
defaultSize
defWndProc
delayInvoke
destroyHandle
disable
disableVisualStyle
displayRectangle
dispose
disposed
dock
doubleClick
enable
enabled
enabledChanged
findForm
focus
focused
font
fontChanged
foreColor
foreColorChanged
fromChildHandle
fromHandle
getAutoScaleSize
getChildAtPoint
getLineCount
getStyle
getTopLevel
gotFocus
handle
handleCreated
handleDestroyed
hasChildren
hasLayout
hasLayoutChanged
height
helpRequested
hide
hideSelection
initLayout
invalidate
invoke
invokeRequired
isHandleCreated
isMnemonic
keyDown
keyPress
keyUp
layout
left
lines
location
lostFocus
maxLength
modified
modifierKeys
mouseButtons
mouseDown
mouseEnter
mouseHover
mouseLeave
mouseMove
mousePosition
mouseUp
mouseWheel
move
multiline
name
onBackColorChanged
onClick
onContextMenuChanged
onControlAdded
onControlRemoved
onCursorChanged
onDisposed
onDoubleClick
onEnabledChanged
onFontChanged
onForeColorChanged
onGotFocus
onHandleCreated
onHandleDestroyed
onHasLayoutChanged
onHelpRequested
onKeyDown
onKeyPress
onKeyUp
onLayout
onLostFocus
onMouseDown
onMouseEnter
onMouseHover
onMouseLeave
onMouseMove
onMouseUp
onMouseWheel
onMove
onPaint
onPaintBackground
onParentChanged
onReflectedMessage
onResize
onRightToLeftChanged
onSystemColorsChanged
onTextChanged
onVisibleChanged
opCmp
opEquals
paint
parent
parentChanged
paste
performLayout
pointToClient
pointToScreen
preProcessMessage
prevWndProc
processKeyEventArgs
processMnemonic
readOnly
recreateHandle
recreatingHandle
rectangleToClient
rectangleToScreen
redraw
refresh
region
resetBackColor
resetCursor
resetFont
resetForeColor
resetRightToLeft
resetText
resize
resizeRedraw
resumeLayout
right
rightToLeft
rightToLeftChanged
scrollToCaret
select
selectAll
selectedText
selectionLength
selectionStart
selectNextControl
sendBackOne
sendToBack
setBounds
setBoundsCore
setClientSizeCore
setStyle
setVisibleCore
show
size
supportsMouseTracking
suspendLayout
systemColorsChanged
tabStop
tag
text
textChanged
textLength
top
topLevelControl
toString
undo
update
updateStyles
visible
visibleChanged
width
wndProc
wordWrap
zIndex
}
{
public void add(Control ctrl);
public int length;
[property getter]
public int opApply(int delegate(ref Control) dg);
public int opIndex;
[property getter]
protected final Control owner;
[property getter]
public void remove(Control ctrl);
}