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 
     • Packages
     • Feedback
     • World Map
     • Updates
     • Pack 1
     • Pack 2
     • Pack 3
     • Pack 4
     • Pack 5
     • Pack 6
     • Pack 7
     • Pack 8
     • Pack 9
     • Pack 10
     • Pack 11
     • Pack 12
     • Pack 13
     • Pack 14
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:  2568 (38 on line) Last Update: Nov 23, 2003  
    APL+Win Training Pack 13    Printer Friendly  
Formula One OCX Tutorial
MDI Revisited with OOP

Download APL+Win Training Pack 13 (2132 K)

The WinWord document in this Pack has been split into 2 files: DISK131.DOC and DISK132.DOC.  You may print both of them and then group the printouts into one bound document.

Formula One OCX Tutorial

Although we have already talked a lot about Formula One OCX in this APL+Win Training Program, we have decided to include a basic Formula One OCX Tutorial, to show how to use a good number of Formula One OCX properties and methods.

The FONE.W3 workspace includes a number of utility functions which you will find useful for:

  • printing data from APL+Win without displaying any form
  • publishing APL+Win arrays to the Web
  • retrieving data from ODBC databases without displaying any form
  • importing EXCEL worksheets to APL+Win Nested Arrays without displaying any form
  • efficiently populating the Formula One grid with APL data
  • efficiently retrieving the Formula One grid content to an APL Nested Array

You will certainly like the ClipFmt and ClipUnfmt utilities which offer the ultimate performance in writing and reading APL data to/from the Formula One OCX spreadsheet.

MDI Revisited with OOP

The 25th Chapter of our APL+Win Training revisits the topic of writing MDI (Multiple Document Interface) applications, this time with only using objects and OOP technology.

The WINSOFT.W3 workspace contains a significant number of completely reusable objects which you may use for developing your own MDI applications.

Chapter 25 shows how using pure OOP technology in APL+Win is not just theory, but a real practical, efficient and clean way of developing applications.

Just to give you a taste of it here is a screen shot of an MDI application written with our collection of new User Defined objects and here is below the whole APL+Win code required to write this application:


Here is the APL+Win OOP code which produces this fully functioning MDI application with complete menus:


    ’ Test;Z;Œwself
[1]   © Sample OOP MDI Application
[2]   © Copyright (c) 1997 Eric Lescasse
[3]   Œwself„'ff'Qwi'New' 'MDIForm'('caption' 'OOP MDI Application')
[4]       Qwi('inifile' 'winsoft.ini')('bitmap' 'c:\windows\nuages.bmp')
[5]   Œwself„'ff.mFile'Qwi'New' 'FileMenu'
[6]       Z„'New' '-' 'Open' 'Close' 'Delete' '-' 'Save' 'SaveAs' '-'
[7]       Z„Z,'PrintSetup' 'PrintPreview' 'Print' 'MRU' '-' 'Exit'
[8]       Qwi'options' Z
[9]   ©   Qwi'childtype' 'ChildRegForm'
[10]  Œwself„'ff.mView'Qwi'New' 'ViewMenu'
[11]      Z„Qwi'options' 'ToolBar' '-' 'StatusBar'
[12]  Œwself„'ff.mWin'Qwi'New' 'WinMenu'
[13]      Qwi'options' 'Cascade' 'TileH' 'TileV' 'Arrange' '-' 'Close'  'Iconify'
[14]  Œwself„'ff.mHelp'Qwi'New' 'HelpMenu'('options' 'Help' '-' 'About')
[15]      Z„'Sample APL+Win application using OOP technology'
[16]      Z„Z,Œtcnl,'Copyright © 1997 Eric Lescasse'
[17]      Qwi'abouttext' Z
[18]      Qwi'abouticon' 'aplwin.ico'
[19]      Qwi'abouttitle' 'APL2000 User''s Conference'
[20]      Qwi'helpfile' 'winsoft.hlp'
[21]  Œwself„'ff.fTb1'Qwi'New' 'MDIToolBar'
[22]      Qwi'buttons'1 2 3 18 0 4 9 10 0 5 6 7 11 12 0 27 28 0 83 104
[23]  Œwself„'ff.fTb2'Qwi'New' 'MDIToolBar'
[24]      Qwi'buttons'1001 0 1002 0 22 29 45 0 31 25 34 0 36 37
[25]  'ff'Qwi'ShowMax'
’

Finally Chapter 25 introduces a useful Object Oriented technique which helps make APL+Win having complex forms with high interactions between form controls much easier to write and to maintain.

This OOP technique involves having your control objects send messages to other control objects to instruct them to update themselves.


Pack 13 Content

APLWIN.ICO The APL+Win icon
BUTTONS.BMP More than 100 images for your toolbar buttons.
DISK131.DOC An 40 pages Winword document containing Chapter 24 of the APL+Win Training.
DISK132.DOC An 38 pages Winword document containing Chapter 25 of the APL+Win Training.
FONE.W3 Formula One OCX utilities and tutorial
WINSOFT.W3 A collection of reusable objects for developing MDI applications
WINSOFT.HLP A sample small Help file for the MDI application
WINSOFT.INI The WINSOFT application .INI file.
 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.