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 7.3 
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:  3223 (16 on line) Last Update: Dec 21, 2003  
    TDHTML5    Printer Friendly  
 
Description   Inheritance   Example   Properties   Methods
 
 Description

The TDHTML5 Object uses the Microsoft DHTML control to allow developing APL+Win applications
containing an HTML editor.  The TDHTMLEditor5 shows an simple example of such an application.
The TDHTML5 object contains properties and methods for changing the HTML code and tags under program control.
You can set text to italic, bold, chhange the background color, the font, etc.
The Microsoft DHTML control is downloadable for MS IE4 and comes installed with MS IE5+
Documentation (and download for MS IE4) for DHTML is found at:
http://msdn.microsoft.com/workshop/Author/dhtml/edit/ref/cncpt.asp

Description   Inheritance   Example   Properties   Methods
 
 Inheritance

Inherits from:  TObject5

Description   Inheritance   Example   Properties   Methods
 
 Example
 
 

The above form is generated by the following APL+Win Objects™ code:


      'ff'Świ'*Create' 'TForm5'('*caption' 'TDHTML5 Example')('ontop'1)©('*onResize' 'Świ"*.dhtml.wherelc"0 0,Świ"*size"')
      'ff.dhtml'Świ'*Create' 'TDHTML5'('wherelc'0 0'>>300' '>>400')('attach'1 2 3 4)
      'ff'Świ'Redim'
      'ff'Świ'*Show'
      'ff'Świ'SessionFocus'
      'ff.dhtml'Świ'html' '<html><body><h1>Big Title </h1>This is a sample HTML page.</body></html>'
      'ff.dhtml'Świ'underline'
      'ff.dhtml'Świ'italic'
      'ff.dhtml'Świ'font' © Use this instruction to call the Windows Font Common Dialog to let the user change the font
      'ff.dhtml'Świ'bold'
      'ff.dhtml'Świ'*??SaveDocument' © Use this instruction to get help on saving an HTML document
XSaveDocument method:
  pathIn promptUser „ ŚWI 'XSaveDocument' pathIn [promptUser]
method SaveDocument

      'ff.dhtml'Świ'SaveDocument' 'c:\temp\test.htm'1
      'ff.dhtml'Świ'Undo'
      'ff.dhtml'Świ'Undo'
      'ff.dhtml'Świ'Undo'
      'ff.dhtml'Świ'Undo'
      'ff.dhtml'Świ'Undo'
      'ff.dhtml'Świ'Redo'
      'ff.dhtml'Świ'SetContextMenu'('Bold' 'Italic' 'Underline' '' 'Print')(1 1 0 0 2)
 
Description   Inheritance   Example   Properties   Methods
 
 Properties
 
Description   Inheritance   Example   Properties   Methods
 
 Methods
 
Copy    
Description:  Copy the currently selected text to the clipboard 
Syntax:  'obj' Świ 'Copy' 
Example: 
      'ff.dhtml' Świ 'Copy' 
Cut    
Description:  Cut the currently selected text to the clipboard 
Syntax:  'obj' Świ 'Cut' 
Example: 
      'ff.dhtml' Świ 'Cut' 
FilterSourceCode    
Description:  TO BE DOCUMENTED 
Font    
Description:  Calls the Windows font common dialog to let change the font 
Syntax:  'obj' Świ 'font' 
Example: 
      'ff.dhtml' Świ 'font' 
Hyperlink    
Description:  Get or Set a Hyperlink for the currently selected text 
Syntax:  {link„'} 'obj' Świ 'Hyperlink'integer 
integer:  to be documented 
Example: 
      'ff.dhtml' Świ 'Hyperlink' 
Image    
Description:  Inserts a graphic at the current insertion point 
Syntax:  'obj' Świ 'Image' {filename} 
filename:  a complete or relative file name 
Example: 
      'ff.dhtml' Świ 'Image' 
LoadDocument    
Description:  TO BE DOCUMENTED 
LoadURL    
Description:  Loads an existing HTML document represented by its URL into the DHTML control 
Syntax:  'obj' Świ 'LoadURL'url 
url:  complete URL (file name or Internet URL) 
New     Description: Create a new instance of TDHTML5
Example:
      'obj' Świ '*Create' 'TDHTML5'

NewDocument    
Description:  Replaces the currently loaded document with a new empty document 
Syntax:  'obj' Świ 'NewDocument' 
Example: 
      'ff.dhtml' Świ 'NewDocument' 
OrderList    
Description:  Build an ordered and numbered list from selected lines 
Syntax:  'obj' Świ 'OrderList' 
Example: 
      'ff.dhtml' Świ 'OrderList' 
Paste    
Description:  Paste the the current clipboard text at the cursor location 
Syntax:  'obj' Świ 'Paste' 
Example: 
      'ff.dhtml' Świ 'Paste' 
PrintDocument    
Description:  Print the currently loaded document 
Syntax:  'obj' Świ 'PrintDocument'arg 
Redo    
Description:  Redo the last undone change 
Syntax:  'obj' Świ 'Redo' 
Example: 
      'ff.dhtml' Świ 'Redo' 
Refresh    
Description:  Syntax:  'obj' Świ 'Refresh' 
Example: 
      'ff.dhtml' Świ 'Refresh' 
SaveDocument    
Description:  Saves the currently loaded document 
Syntax:  'obj' Świ 'SaveDocument'filename boolean 
filename: name of document to be saved 
boolean: 
Example: 
      'ff.dhtml' Świ 'SaveDocument' 
SetContextMenu    
Description:  Create a context menu for the DHTML control 
Syntax:  'obj' Świ 'SetContextMenu'options 
Example: 
      'ff.dhtml' Świ 'NewDocument' 
Example: 
      'ff.dhtml' Świ 'SetContextMenu' ('Bold' 'Italic' 'Underline' '' 'Print') (1 1 0 0 2) 
UnOrderList    
Description:  Syntax:  'obj' Świ 'UnOrderList' 
Example: 
      'ff.dhtml' Świ 'UnOrderList' 
Undo    
Description:  Undo the last change 
Syntax:  'obj' Świ 'Undo' 
Example: 
      'ff.dhtml' Świ 'Undo' 
Unlink    
Description:  Removes <A> and </A> tags from the selection 
Syntax:  'obj' Świ 'Unlink' 
Example: 
      'ff.dhtml' Świ 'Unlink' 
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.