Class IRichText (unit RichText)

Inherits from

IDispatch

Microsoft Rich Textbox Control 6.0

Constructors



Functions

procedure AboutBox;


function Find(const bstrString: WideString; vStart, vEnd, vOptions: OleVariant): Integer;


function GetLineFromChar(lChar: Integer): Integer;


function Get_Appearance: AppearanceConstants;


function Get_AutoVerbMenu: WordBool;


function Get_BackColor: TColor;


function Get_BorderStyle: BorderStyleConstants;


function Get_BulletIndent: Single;


function Get_defTextRTF: WideString;


function Get_DisableNoScroll: WordBool;


function Get_Enabled: WordBool;


function Get_FileName: WideString;


function Get_Font: IFontDisp;


function Get_HideSelection: WordBool;


function Get_Hwnd: OLE_HANDLE;


function Get_Locked: WordBool;


function Get_MaxLength: Integer;


function Get_MouseIcon: IPictureDisp;


function Get_MousePointer: MousePointerConstants;


function Get_MultiLine: WordBool;


function Get_OLEDragMode: OLEDragConstants;


function Get_OLEDropMode: OLEDropConstants;


function Get_OLEObjects: IOLEObjects;


function Get_RightMargin: Single;


function Get_ScrollBars: ScrollBarsConstants;


function Get_SelAlignment: OleVariant;


function Get_SelBold: OleVariant;


function Get_SelBullet: OleVariant;


function Get_SelCharOffset: OleVariant;


function Get_SelColor: OleVariant;


function Get_SelFontName: OleVariant;


function Get_SelFontSize: OleVariant;


function Get_SelHangingIndent: OleVariant;


function Get_SelIndent: OleVariant;


function Get_SelItalic: OleVariant;


function Get_SelLength: Integer;


function Get_SelProtected: OleVariant;


function Get_SelRightIndent: OleVariant;


function Get_SelRTF: WideString;


function Get_SelStart: Integer;


function Get_SelStrikeThru: OleVariant;


function Get_SelTabCount: OleVariant;


function Get_SelTabs(sElement: Smallint): OleVariant;


function Get_SelText: WideString;


function Get_SelUnderline: OleVariant;


function Get_Text: WideString;


function Get_TextRTF: WideString;


procedure LoadFile(const bstrFilename: WideString; vFileType: OleVariant);


procedure OLEDrag;


procedure Refresh;


procedure SaveFile(const bstrFilename: WideString; vFlags: OleVariant);


procedure SelPrint(lHDC: Integer; vStartDoc: OleVariant);


procedure Set_Appearance(Value: AppearanceConstants);


procedure Set_AutoVerbMenu(Value: WordBool);


procedure Set_BackColor(Value: TColor);


procedure Set_BorderStyle(Value: BorderStyleConstants);


procedure Set_BulletIndent(Value: Single);


procedure Set_defTextRTF(const Value: WideString);


procedure Set_DisableNoScroll(Value: WordBool);


procedure Set_Enabled(Value: WordBool);


procedure Set_FileName(const Value: WideString);


procedure Set_Font(var Value: IFontDisp);


procedure Set_HideSelection(Value: WordBool);


procedure Set_Hwnd(Value: OLE_HANDLE);


procedure Set_Locked(Value: WordBool);


procedure Set_MaxLength(Value: Integer);


procedure Set_MouseIcon(var Value: IPictureDisp);


procedure Set_MousePointer(Value: MousePointerConstants);


procedure Set_MultiLine(Value: WordBool);


procedure Set_OLEDragMode(Value: OLEDragConstants);


procedure Set_OLEDropMode(Value: OLEDropConstants);


procedure Set_RightMargin(Value: Single);


procedure Set_ScrollBars(Value: ScrollBarsConstants);


procedure Set_SelAlignment(Value: OleVariant);


procedure Set_SelBold(Value: OleVariant);


procedure Set_SelBullet(Value: OleVariant);


procedure Set_SelCharOffset(Value: OleVariant);


procedure Set_SelColor(Value: OleVariant);


procedure Set_SelFontName(Value: OleVariant);


procedure Set_SelFontSize(Value: OleVariant);


procedure Set_SelHangingIndent(Value: OleVariant);


procedure Set_SelIndent(Value: OleVariant);


procedure Set_SelItalic(Value: OleVariant);


procedure Set_SelLength(Value: Integer);


procedure Set_SelProtected(Value: OleVariant);


procedure Set_SelRightIndent(Value: OleVariant);


procedure Set_SelRTF(const Value: WideString);


procedure Set_SelStart(Value: Integer);


procedure Set_SelStrikeThru(Value: OleVariant);


procedure Set_SelTabCount(Value: OleVariant);


procedure Set_SelTabs(sElement: Smallint; Value: OleVariant);


procedure Set_SelText(const Value: WideString);


procedure Set_SelUnderline(Value: OleVariant);


procedure Set_Text(const Value: WideString);


procedure Set_TextRTF(const Value: WideString);


procedure Span(const bstrCharacterSet: WideString; vForward, vNegate: OleVariant);


procedure UnusedSelPrint(lHDC: Integer);


procedure UpTo(const bstrCharacterSet: WideString; vForward, vNegate: OleVariant);


procedure _Set_MouseIcon(const Value: IPictureDisp);


Properties

property Appearance : AppearanceConstants


property AutoVerbMenu : WordBool


property BackColor : TColor


property BorderStyle : BorderStyleConstants


property BulletIndent : Single


property defTextRTF : WideString


property DisableNoScroll : WordBool


property Enabled : WordBool


property FileName : WideString


property Font : IFontDisp


property HideSelection : WordBool


property Hwnd : OLE_HANDLE


property Locked : WordBool


property MaxLength : Integer


property MouseIcon : IPictureDisp


property MousePointer : MousePointerConstants


property MultiLine : WordBool


property OLEDragMode : OLEDragConstants


property OLEDropMode : OLEDropConstants


property OLEObjects : IOLEObjects


property RightMargin : Single


property ScrollBars : ScrollBarsConstants


property SelAlignment : OleVariant


property SelBold : OleVariant


property SelBullet : OleVariant


property SelCharOffset : OleVariant


property SelColor : OleVariant


property SelFontName : OleVariant


property SelFontSize : OleVariant


property SelHangingIndent : OleVariant


property SelIndent : OleVariant


property SelItalic : OleVariant


property SelLength : Integer


property SelProtected : OleVariant


property SelRightIndent : OleVariant


property SelRTF : WideString


property SelStart : Integer


property SelStrikeThru : OleVariant


property SelTabCount : OleVariant


property SelTabs : OleVariant


property SelText : WideString


property SelUnderline : OleVariant


property Text : WideString


property TextRTF : WideString


Events

Variables


Constructors


Functions


procedure AboutBox;


function Find(const bstrString: WideString; vStart, vEnd, vOptions: OleVariant): Integer;


function GetLineFromChar(lChar: Integer): Integer;


function Get_Appearance: AppearanceConstants;


function Get_AutoVerbMenu: WordBool;


function Get_BackColor: TColor;


function Get_BorderStyle: BorderStyleConstants;


function Get_BulletIndent: Single;


function Get_defTextRTF: WideString;


function Get_DisableNoScroll: WordBool;


function Get_Enabled: WordBool;


function Get_FileName: WideString;


function Get_Font: IFontDisp;


function Get_HideSelection: WordBool;


function Get_Hwnd: OLE_HANDLE;


function Get_Locked: WordBool;


function Get_MaxLength: Integer;


function Get_MouseIcon: IPictureDisp;


function Get_MousePointer: MousePointerConstants;


function Get_MultiLine: WordBool;


function Get_OLEDragMode: OLEDragConstants;


function Get_OLEDropMode: OLEDropConstants;


function Get_OLEObjects: IOLEObjects;


function Get_RightMargin: Single;


function Get_ScrollBars: ScrollBarsConstants;


function Get_SelAlignment: OleVariant;


function Get_SelBold: OleVariant;


function Get_SelBullet: OleVariant;


function Get_SelCharOffset: OleVariant;


function Get_SelColor: OleVariant;


function Get_SelFontName: OleVariant;


function Get_SelFontSize: OleVariant;


function Get_SelHangingIndent: OleVariant;


function Get_SelIndent: OleVariant;


function Get_SelItalic: OleVariant;


function Get_SelLength: Integer;


function Get_SelProtected: OleVariant;


function Get_SelRightIndent: OleVariant;


function Get_SelRTF: WideString;


function Get_SelStart: Integer;


function Get_SelStrikeThru: OleVariant;


function Get_SelTabCount: OleVariant;


function Get_SelTabs(sElement: Smallint): OleVariant;


function Get_SelText: WideString;


function Get_SelUnderline: OleVariant;


function Get_Text: WideString;


function Get_TextRTF: WideString;


procedure LoadFile(const bstrFilename: WideString; vFileType: OleVariant);


procedure OLEDrag;


procedure Refresh;


procedure SaveFile(const bstrFilename: WideString; vFlags: OleVariant);


procedure SelPrint(lHDC: Integer; vStartDoc: OleVariant);


procedure Set_Appearance(Value: AppearanceConstants);


procedure Set_AutoVerbMenu(Value: WordBool);


procedure Set_BackColor(Value: TColor);


procedure Set_BorderStyle(Value: BorderStyleConstants);


procedure Set_BulletIndent(Value: Single);


procedure Set_defTextRTF(const Value: WideString);


procedure Set_DisableNoScroll(Value: WordBool);


procedure Set_Enabled(Value: WordBool);


procedure Set_FileName(const Value: WideString);


procedure Set_Font(var Value: IFontDisp);


procedure Set_HideSelection(Value: WordBool);


procedure Set_Hwnd(Value: OLE_HANDLE);


procedure Set_Locked(Value: WordBool);


procedure Set_MaxLength(Value: Integer);


procedure Set_MouseIcon(var Value: IPictureDisp);


procedure Set_MousePointer(Value: MousePointerConstants);


procedure Set_MultiLine(Value: WordBool);


procedure Set_OLEDragMode(Value: OLEDragConstants);


procedure Set_OLEDropMode(Value: OLEDropConstants);


procedure Set_RightMargin(Value: Single);


procedure Set_ScrollBars(Value: ScrollBarsConstants);


procedure Set_SelAlignment(Value: OleVariant);


procedure Set_SelBold(Value: OleVariant);


procedure Set_SelBullet(Value: OleVariant);


procedure Set_SelCharOffset(Value: OleVariant);


procedure Set_SelColor(Value: OleVariant);


procedure Set_SelFontName(Value: OleVariant);


procedure Set_SelFontSize(Value: OleVariant);


procedure Set_SelHangingIndent(Value: OleVariant);


procedure Set_SelIndent(Value: OleVariant);


procedure Set_SelItalic(Value: OleVariant);


procedure Set_SelLength(Value: Integer);


procedure Set_SelProtected(Value: OleVariant);


procedure Set_SelRightIndent(Value: OleVariant);


procedure Set_SelRTF(const Value: WideString);


procedure Set_SelStart(Value: Integer);


procedure Set_SelStrikeThru(Value: OleVariant);


procedure Set_SelTabCount(Value: OleVariant);


procedure Set_SelTabs(sElement: Smallint; Value: OleVariant);


procedure Set_SelText(const Value: WideString);


procedure Set_SelUnderline(Value: OleVariant);


procedure Set_Text(const Value: WideString);


procedure Set_TextRTF(const Value: WideString);


procedure Span(const bstrCharacterSet: WideString; vForward, vNegate: OleVariant);


procedure UnusedSelPrint(lHDC: Integer);


procedure UpTo(const bstrCharacterSet: WideString; vForward, vNegate: OleVariant);


procedure _Set_MouseIcon(const Value: IPictureDisp);


Properties


property Appearance : AppearanceConstants


property AutoVerbMenu : WordBool


property BackColor : TColor


property BorderStyle : BorderStyleConstants


property BulletIndent : Single


property defTextRTF : WideString


property DisableNoScroll : WordBool


property Enabled : WordBool


property FileName : WideString


property Font : IFontDisp


property HideSelection : WordBool


property Hwnd : OLE_HANDLE


property Locked : WordBool


property MaxLength : Integer


property MouseIcon : IPictureDisp


property MousePointer : MousePointerConstants


property MultiLine : WordBool


property OLEDragMode : OLEDragConstants


property OLEDropMode : OLEDropConstants


property OLEObjects : IOLEObjects


property RightMargin : Single


property ScrollBars : ScrollBarsConstants


property SelAlignment : OleVariant


property SelBold : OleVariant


property SelBullet : OleVariant


property SelCharOffset : OleVariant


property SelColor : OleVariant


property SelFontName : OleVariant


property SelFontSize : OleVariant


property SelHangingIndent : OleVariant


property SelIndent : OleVariant


property SelItalic : OleVariant


property SelLength : Integer


property SelProtected : OleVariant


property SelRightIndent : OleVariant


property SelRTF : WideString


property SelStart : Integer


property SelStrikeThru : OleVariant


property SelTabCount : OleVariant


property SelTabs : OleVariant


property SelText : WideString


property SelUnderline : OleVariant


property Text : WideString


property TextRTF : WideString


Events


Variables