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:  1627 (25 on line) Last Update: Dec 5, 2003  
    TEditFile5      Printer Friendly  
 
Description   Inheritance   Example   Properties   Methods
 
 Description

The TEditFile5 object is a composite object including an Edit control and a button to allow selecting an existing file or entering a new file name

See also: TEditDir5 TGetDir5

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' 'TEditFile5 Demo')('*size'300 400)'DemoShow'
      'ff'Świ'*.edf.Create' 'TEditFile5'('wherelc'Đ 60 Đ 190)('caption' 'File Name')('attach'1 2 3 2)
ff.edf
 
Description   Inheritance   Example   Properties   Methods
 
 Properties
 
attach    
Description:  Specified how the object is attached to its parent 
Syntax: {parentsides}„'obj' Świ 'attach' {parentsides} 
parentsides:  numeric vector of object parent sides to which 
        the left, top, right and bottom object sides 
        (always in this order: left,top,right,bottom) are attached 
Notes:  parent sides are numbered as follows: 
        1=left 2=top 3=right 4=bottom 
Thus:   1 2 3 2  means: 
        left object side is attached to left parent side (1) 
        top object side is attached to top parent side (2) 
        right object side is attached to right parent side (3) 
        bottom object side is attached to top parent side (2) 
        3 2 3 4  means: 
        left object side is attached to right parent side (3) 
        top object side is attached to top parent side (2) 
        right object side is attached to right parent side (3) 
        bottom object side is attached to bottom parent side (4) 
Note:  attach property needed by TEditGrid5, ... to avoid recursion 
Note:  the processing of the <attach> property is done by the TObject5 <Attach> method 
Example: 
      'ff' Świ '*Create' 'TForm5' ('*caption' 'attach demo') 
      'ff.ed1' Świ '*Create' 'TEdit5' ('wherelc'Đ(100 Ż90'Name')Đ 200) ('attach'1 2 3 2) 
      'ff.ed2' Świ '*Create' 'TEdit5' ('wherelc' '>' ('=' Ż90'Comment')Đ 200) ('attach'1 2 3 4) 
      'ff' Świ 'Redim' Ş 'ff' Świ 'Show' 
class    
Description:  Return current object class 
Syntax:  class„'obj' Świ 'class' 
class    
Description:  Return current object class 
Syntax:  class„'obj' Świ 'class' 
dir    
Description:  Get or Set the default directory 
Syntax:  {path„'} 'obj' Świ 'dir' {path} 
path:  a valid existing path 
Example: 
      'ff.edf' Świ 'dir' 'c:\aplwin50' 
enabled    
Description:  Get or set the enabled property for the TEditDir5 object 
Syntax:  {boolean„'} 'obj' Świ 'enabled' {boolean} 
boolean:  a boolean scalar (1=enable object, 0=disable it) 
Example: 
      'ff.edf' Świ 'enabled'0 
ext    
Description:  Get or Set the default extension 
Syntax:  {extension„'} 'obj' Świ 'ext' {extension} 
ext:  a valid file extension 
Example: 
      'ff.edf' Świ 'dir' '.exe' 
filters    
Description:  Get or Set the list of file filters 
Syntax:  {filters„'} 'obj' Świ 'filters' {filters} 
filters:  the list of file filters 
          the filters must be made of one or more 'description¦filter' elements 
          Each of them must be separated by the pipe character (Śav[124+Śio]) 
Examples: 
      'ff.edf' Świ 'filters' 'All Files(*.*)¦*.*' 
      'ff.edf' Świ 'filters' 'Text Files(*.txt)¦*.txt¦HTML Files(*.htm)¦*.htm' 
flags    
Description:  Get or Set the Open File Dialog flags 
Syntax:  {flags„'} 'obj' Świ 'flags' {flags} 
flags:  an integer vector of flags chosen among: 
      1:OFN_READONLY - Read Only check box is initially checked. 
      4:OFN_HIDEREADONLY - Hides the Read Only check box. 
      8:OFN_NOCHANGEDIR - Restores the current directory to its original value if the 
                       user changed the directory while searching for files. 
     32:OFN_ENABLEHOOK - Enables the hook function specified in the lpfnHook member. 
    256:OFN_NOVALIDATE - Allow invalid characters in the returned filename. 
    512:OFN_ALLOWMULTISELECT - Allow multiple selections. 
   2048:OFN_PATHMUSTEXIST - Only valid paths can be specified. 
   4096:OFN_FILEMUSTEXIST - Only existing files can be specified. 
   8192:OFN_CREATEPROMPT - Notify the user when the file does not exist 
  32768:OFN_NOREADONLYRETURN - File must not be Read Only or protected. 
 524288:OFN_EXPLORER - Display Windows Explorer when OFN_ALLOWMULTISELECT enabled. 
Example: 
      'ff.edf' Świ 'flags'1 2048 4096 
help    
Example: 
0 0˝'ff' Świ '*Create' 'TForm5' ('*caption' 'TEditFile5 Demo') ('*size'300 400) 'DemoShow' 
'ff' Świ '*.edf.Create' 'TEditFile5' ('wherelc'Đ 60 Đ 190) ('caption' 'File Name') ('attach'1 2 3 2) 
help    
Example: 
0 0˝'ff' Świ '*Create' 'TForm5' ('*caption' 'TEditFile5 Demo') ('*size'300 400) 'DemoShow' 
'ff' Świ '*.edf.Create' 'TEditFile5' ('wherelc'Đ 60 Đ 190) ('caption' 'File Name') ('attach'1 2 3 2) 
includepath    
Description:  Tells if the file name returned by the Browse button should include a path or not 
Syntax:  {boolean„'} 'obj' Świ 'includepath' {boolean} 
includepath:  1(default)=file name includes a path  0=file name does not include a path 
Examples: 
      'ff.edf' Świ 'includepath'1 
visible    
Description:  Get or Set the visible property 
Syntax:  {boolean„'} 'obj' Świ 'visible' {boolean} 
boolean:  a boolean value 
Example: 
      'ff.ed' Świ 'visible'0 
wherelc    
Description:  Same as the standard <wherelc> property but: 
- repositions the button according to the Edit control position 
- makes the Edit control smaller so that the overal control width be 4śwherelc 
Syntax:  'obj' Świ 'wherelc'values 
values: 4 to 8 values 
Example: 
      'ff.edDir' Świ 'wherelc'Đ 100 Đ 300 
Description   Inheritance   Example   Properties   Methods
 
 Methods
 
New     Description: Create a new instance of TEditFile5
Example:
      'obj' Świ '*Create' 'TEditFile5'

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.