Lescasse Consulting
 Home    Company    News    Prices    Download    Buy    Forums   
Read Me
Buy
Forums
Resume
AntiSpam 1.2
wBackup 1.11
NetAccess 2.0
Visual APL 1.0 
APL+Win 8.0 
APL+Win Products 
APL+Win Objects™ 
APL+Win Training 
APL+Web Services
APL+Web Component 
APL+ History
Dyalog.Net Tutorial
Conferences 
Powerpoint
White Papers
Web Hosting
References
Links
 
APL+Win Objects™ 6.0

TADO5
TADO5 Tutorial
TAPLDraw5
TAPLEdit5
TAPLSession5
TAbale5
TAboutBox5
TAccess5
TAgent5
TBlatMail5
TButton5
TCDO5
TCRC5
TCancelButton5
TCheck5
TCheckGroup5
TChildForm5
TChooseColor5
TChooseFont5
TClipBoard5
TClock5
TCodeStats5
TColors5
TCombo5
TComboDrive5
TComboFilter5
TComboList5
TComboTree5
TCommandBar5
TCommandButton5
TControlClass5
TCueCard5
TDHTML5
TDHTMLEditor5
TDateTime5
TDateTimeFr5
TDates5
TDemoHandlers5
TDisplay5
TDOS5
TDualSelect5
TEdit5
TEditAmount5
TEditDir5
TEditEnter5
TEditFile5
TEditGrid5
TEditList5
TEditListview5
TEditMenu5
TEditNum5
TEditSelect5
TEditSpin5
TEmail5
TError5
TExampleForm5
TExcel5
TExcel5 Tutorial
TFindReplace5
TFOne5
TFTP5
TFTP5 Tutorial
TFileCompare5
TFileMenu5
TFileMenuDef5
TFlatButton5
TForm5
TFormClass5
TFormEditor5
TFrame5
TGetDir5
TGif5
TGifForm5
TGifWb5
TGoMenu5
TGraphX5
TGrid5
TGridDisplay5
TGridPrint5
TGUID5
THLine5
THTML5
THTML5 Tutorial
THTTP5
THelp5
THelpMenu5
TImagelist5
TInfo5
TIniFile5
TInstall5
TInternet5
TJpg5
TJpgWb5
TLabel5
TList5
TListview5
TLock5
TLogs5
TMAPI5
TMath5
TMDIForm5
TMSOutlook5
TMaskEdit5
TMedia5
TMenu5
TMessage5
TModalCall5
TMsgBox5
TNavigator5
TNetwork5
TNonVisualClass5
TODBC5
TOKButton5
TObject5
TOpenFile5
TOption5
TOptionGroup5
TOutlook5
TOutlookMail5
TOWCSpread5
TPDF5
TPFKeys5
TPage5
TPassword5
TPicture5
TPing5
TPopupMenu5
TPowerpoint5
TPowerpoint5 Tutorial
TPrinter5
TProgress5
TProgressDlg5
TQuestion5
TRegistry5
TRegistryKey5
TResource5
TRichEdit5
TSPX5
TSQLDMO5
TScheduler5
TScroll5
TSelector5
TSpinner5
TSplitter5
TStatus5
TStopWatch5
TTest5
TTestError5
TTextFile5
TTimer5
TTip5
TTipForm5
TTLI5
TToolBar5
TToolbox5
TToolsMenu5
TTrackbar5
TTranslate5
TTree5
TVLine5
TViewMenu5
TWebBrowser5
TWebServer5
TWebSite5
TWebSiteNet5
TWinMenu5
TWord5
TYesNo5
    Visits:  2456 (39 on line) Last Update: Dec 5, 2003  
    TRichEdit5    Printer Friendly  
 
Description   Inheritance   Example   Properties   Methods
 
 Description

The TRichEdit5 Object is a cover object for the APL+Win RichEdit object It contains several additional properties and methods especially including <Find> which searches for substrings in the RichEdit text and highlight hits

Description   Inheritance   Example   Properties   Methods
 
 Inheritance

Inherits from:  TObject5

Description   Inheritance   Example   Properties   Methods
 
 Example
 
 

The above example was generated by the following APL+Win Objects™ code:


      'ff'Świ'*Create' 'TForm5'('*caption' 'TRichEdit5 Example')
      'ff'Świ'*.re1.Create' 'TRichEdit5'('wherelc'Đ Đ 200 490)('attach'1 2 3 4)('*text'(,(100 80˝'APL is the best language '),Śtcnl))
      'ff'Świ'*.ok.Create' 'TOKButton5'('wherelc' '=' '>' Đ Đ)('attach'3 2 3 2)
      'ff'Świ'Redim'
      (›'ff')Świ¨'DemoShow' 'SessionFocus'
      'ff'Świ'.re1.Find' 'APL'
 
Description   Inheritance   Example   Properties   Methods
 
 Properties
 
bold    
Description:  Get or Set the selected text bold state 
Syntax:  {boolean„'} 'obj' Świ 'bold' {boolean} 
boolean:  1=set text to bold 0=set text to normal 
Example: 
      'ff.re1' Świ 'bold'1 
class    
Description:  Return current object class 
Syntax:  class„'obj' Świ 'class' 
font    
Description:  Defines the font for the whole text 
Syntax:  {font„'} 'obj' Świ 'font' {font{fontsize{fontstyle{fontcharset}}}} 
font:  a font name 
fontsize:  a size expressed in points 
fontstyle:  sum of: 
            Pitch:  0=Default;  32=Fixed pitch;  64=Variable pitch 
            Family: 0=Normal; 128=Roman; 256=Swiss; 384=Modern; 512=Script; 640=Decorative 
fontcharset:  'ansi' (default),  'oem', 'symbol' or 'default' 
Example: 
      'ff.re1' Świ 'font' 'MS Sans Serif' 
      'ff.re1' Świ 'font' 'Helvetica'18 
      'ff.re1' Świ 'font' 'APLFONT'14(32+128) 'symbol' 
help    
Example: 
0 0˝'ff' Świ '*Create' 'TForm5' ('*caption' 'TRichEdit5 Example') 
0 0˝'ff' Świ '*.re1.Create' 'TRichEdit5' ('wherelc'Đ Đ 200 490) ('attach'1 2 3 4) ('*text' (,(100 80˝'APL is the best language '),Śtcnl)) 
0 0˝'ff' Świ '*.ok.Create' 'TOKButton5' ('wherelc' '=' '>' Đ Đ) ('attach'3 2 3 2) 
0 0˝'ff' Świ 'Redim' 
0 0˝(›'ff')Świ¨'DemoShow' 'SessionFocus' 
0 0˝'ff' Świ '.re1.Find' 'APL' 
italic    
Description:  Get or Set the selected text italic state 
Syntax:  {boolean„'} 'obj' Świ 'italic' {boolean} 
boolean:  1=set text to italics  0=set text to normal 
Example: 
      'ff.re1' Świ 'italic'1 
protected    
Description:  Get or Set the selected text protected state 
Syntax:  {boolean„'} 'obj' Świ 'protected' {boolean} 
boolean:  1=set text to protected  0=set text to normal 
Example: 
      'ff.re1' Świ 'protected'1 
strikeout    
Description:  Get or Set the selected text strikeout state 
Syntax:  {boolean„'} 'obj' Świ 'strikeout' {boolean} 
boolean:  1=set text to strikeout  0=set text to normal 
Example: 
      'ff.re1' Świ 'strikeout'1 
syntaxcolor    
Description:  Get or Set the type of Syntax coloring required 
Syntax:  {type„'} 'obj' Świ 'syntaxcolor' {type} 
type:  type of syntax coloring requested (one of:  'html' 'css' or '' for no syntax coloring) 
Example: 
      'ff.re1' Świ 'syntaxcolor' 'html' 
text    
Description:  Get or Set the text property and saves previous text if set 
Syntax:  {text„'} 'obj' Świ 'text' {text} 
text:  text installed in control 
Example: 
      'ff.re1' Świ 'text'txt 
underline    
Description:  Get or Set the selected text underline state 
Syntax:  {boolean„'} 'obj' Świ 'underline' {boolean} 
boolean:  1=underline selected text  0=set text to normal 
Example: 
      'ff.re1' Świ 'underline'1 
Description   Inheritance   Example   Properties   Methods
 
 Methods
 
APLFont    
Description:  Set the whole text font to the APLPLUS font 
Syntax:  'obj' Świ 'APLFont' {size}           © ELE11jul05 size added 
size:  APL font size in points             © ELE11jul05 added 
Example: 
      'ff.re1' Świ 'APLFont' 
DyalogAPLFont    
Description:  Set the whole text font to the Dyalog APL font 
Syntax:  'obj' Świ 'DyalogAPLFont' 
Example: 
      'ff.re1' Świ 'DyalogAPLFont' 
Find    
Description:  Find a substring and show all occurences with a different color 
Syntax:  'obj' Świ 'Find'string color syntacticsearch casesensitivity 
string:  sub-string to be found 
color:  a 1- or 3-element color 
syntacticsearch:  boolean (1 is search should be syntactic) 
casesensitivity:  boolean (1 is search should be case sensitive) 
Example: 
      'ff.re1' Świ 'Find' 'APL' 1 1 
MoveTo    
Description:  Moves the caret to a new position 
Syntax:  'obj' Świ 'MoveTo'position{nb_of_chars} 
Example: 
      'ff.re1' Świ 'MoveTo'200 50 
MoveToEnd    
Description:  Moves the caret to the end of the text 
Syntax:  'obj' Świ 'MoveToEnd' 
Example: 
      'ff.re1' Świ 'MoveToEnd' 
MoveToEnd    
Description:  Moves the caret to the end of the text 
Syntax:  'obj' Świ 'MoveToEnd' 
Example: 
      'ff.re1' Świ 'MoveToEnd' 
New     Description: Create a new instance of TRichEdit5
Example:
      'obj' Świ '*Create' 'TRichEdit5'

SelectAll    
Description:  Selected the whole RichEdit control text 
Syntax:  'obj' Świ 'SelectAll' 
Example: 
      'ff.re1' Świ 'SelectAll' 
SelectNone    
Description:  Unselect any selected text 
Syntax:  'obj' Świ 'SelectNone' 
Example: 
      'ff.re1' Świ 'SelectNone' 
SelectToEnd    
Description:  Selects text from current cursor position to end of text 
Syntax:  'obj' Świ 'SelectToEnd' 
Example: 
      'ff.re1' Świ 'SelectToEnd' 
SyntaxColor    
Description:  Installs specified text in the control and syntax color it 
Syntax:  'obj' Świ 'SyntaxColor'text{info} 
text:  an HTML text or a CSS text 
info:  optional name of an instance of a TInfo5 object 
Example: 
      'ff.edHtml' Świ 'SyntaxColor'text'info' 
Description   Inheritance   Example   Properties   Methods
 
 This entire Web site has been dynamically generated by APL+Win Objects™ 6.0
 For all questions contact:  info@lescasse.com
 Copyright © 2003-2005 Lescasse Consulting. All rights reserved.