Visual Fox Pro 6 0 Vorstellung der neuen






































































- Slides: 70
Visual Fox. Pro 6. 0 Vorstellung der neuen Version 6. 0 von Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Diese Schulung dient der Einführung in die neue Version 6. 0 der Entwicklungsumgebung und des Datenbanksystems Microsoft Visual Fox. Pro 6. 0 Wizards & Builders Gmb. H
Themenübersicht Ø Access & Assign-Methoden Ø Active Documents Ø Component Gallery Ø Application Framework Ø Coverage Profiler Ø GIF- & JPEG-Support Ø HTML-Help Ø OLE Drag & Drop Ø Project Manager Hooks Ø Automation Server Ø Neue Assistenten Ø Jahr 2000 -Unterstützung Ø Neue Sprachelemente Ø Erweiterte Sprachelemente Ø Vorschau auf Version 6. 1 Wizards & Builders Gmb. H
Access & Assign Access- & Assign-Methoden für Eigenschaften in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Einsatz von Access/Assign Eigenschaften für <Methode> _ACCESS bzw. _ASSIGN l Parameterübernahme bei Assign, Rückgabe bei Acces l Methoden sind unabhängig voneinander anlegbar l Auch bei DEFINE CLASS l Wizards & Builders Gmb. H
Vorteile von Access/Assign Validierung von Eigenschaften l Schreibschutz für Eigenschaft l Schutz von Active. X-Controls l Umsetzung von Werten l Aufbau von Collections l Sonderfall THIS_ACCESS l Ø Rückgabe von Objektreferenz Wizards & Builders Gmb. H
Active Documents Masken direkt im Browser als HTML-Darstellung mit Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Was sind Active. Documents Embedded OLE l In-Place-Activation l Menues und Toolbars werden zum Host geroutet l Hohe Integration mit Internet Explorer und Webseiten l Evolutionärer Schritt l Wizards & Builders Gmb. H
Klasse Active. Document Eigenschaften: Caption, Container. Release. Type l Ereignisse: Command. Target. Execute/Query, Container-Release, Show. Doc, Hide. Doc l Methoden: Übliche Methoden l Wizards & Builders Gmb. H
Einsatz von Active. Docs Hauptdatei muß auf Active-Document. Klasse basieren l Erzeugen einer. APP aus Projekt l Command. Target. Execute l Command. Target. Query l GETHOST() l ISHOSTED() l Wizards & Builders Gmb. H
Ereignisreihenfolge l Init Ø Setup-Code, nicht zu lang wg. Timeout Show. Doc l Run l Ø Menu, Maske, READ EVENTS Hide. Doc l Container. Release (Quit, Ret. F. ) l Wizards & Builders Gmb. H
Erweiterung von Masken Eigenschaften: Continous. Scroll, Alwaysonbottom, H/VScroll. Small. Changes, View. Port-Koordinaten, Scrollbars, Titlebar l Ereignisse: Scrolled l Methoden: Set. View. Port l Wizards & Builders Gmb. H
Anpassung / Aufruf Maske Anpassung: l Border. Style = 0 l Titlebar = 0 l Window State = 2 l Scrollbars = 3 Aufruf: l In Browser l Stand Alone l In Browser Debugging l Stand Along Debugging Wizards & Builders Gmb. H
Menü-Merging l Zusammenfassung der Menüs Ø Datei Internet Explorer Ø Bearbeiten Active Document Ø Container Internet Explorer Ø Objekte Active Document Ø Fenster Internet Explorer Ø Hilfe Addition von Active Doc l DEFINE PAD NEGOTIATE n. Pos. Wizards & Builders Gmb. H
Component Gallery Umfangreiche Komponentensammlung im Source in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Allgemeines zur Gallery Anpassbares Verwaltungs-werkzeug für Referenzen l Enthält Projektmanager, Class-Browser, Form Controls-Toolbar l Dokumente, Dateien, Verzeich-nisse, OLE-Server, URLs, HTML, VFPElemente, Sound, Wizards l Wizards & Builders Gmb. H
Vorhandene Kataloge l l Gallery (Basis. Katalog, Default) Visual Fox. Pro (Foundation) Favorites My. Base. Classes l l Active. X World. Wide. Web (URL-Liste) Multimedia Samples Wizards & Builders Gmb. H
Eintragsarten l l l l Klasse Datei Active. X (Controls) Data (Tabelle, DBC) Image (Bilder) Sound Video URL (Link) l l l l Beispiel Template (Builder) Katalog Maske Bericht Menü Programm Projekt Wizards & Builders Gmb. H
Application Framework Fertige Basisklassen für eigene Anwendungen in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Komponenten Include-Datei für Anpassung l Konfigurationsdatei l Project. Hook-Klasse l Tabelle für Metadaten l Application Builder l Basisklassen in Gallery l Wizards & Builders Gmb. H
Festlegungen für Applikation Art: Normal, Modul, Top. Level l Dialoge: Splash. Screen, Quick-Start, About, Login, Favoriten, Fehlerlog, Optionen l Toolbars: Navigation, Standard l Menü: Favoriten, Fenster usw. l Allgemein: Icon, Image, Name l Wizards & Builders Gmb. H
Coverage Profiler Neues Werkzeug zur Code-und Performanceanalyse in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Coverage-Logfile SET COVERAGE TO <file> ADDITIVE l Einträge in der Log-Datei: l Ø Ausführungszeit Ø Klasse Ø Objekt, Methode, Prozedur Ø Zeilennummer Ø Dateiname Ø Programmebene Wizards & Builders Gmb. H
Coverage Profiler l Systemvariable _COVERAGE Ø DO (_COVERAGE) WITH <logfile> Coverage/Profile Mode l Coverage Profiler Options l Add. Ins für Erweiterung l Adjust-Methoden für Anpassung l Coverage. VCX und. h-Dateien l Wizards & Builders Gmb. H
Neue Grafikformate Unterstützung weiterer Grafikformate in Masken in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Unterstützte Formate Bitmaps l Device ind. Bitmaps l Graphics Interchange l Joint Photographic l Cursor l Animated Cursor l Icon l . bmp. dib. gif. jpg. cur. ani. ico Wizards & Builders Gmb. H
Unterstütze Eigenschaften Picture, Disabled, Down für: l Checkbox, Command. Button, Option. Button Nur Picture für: l Container, Control, Custom, Form, Image, Page, _Screen Wizards & Builders Gmb. H
Weitere Funktionen GETPICT l CLEAR RESOURCES l Unterstützung in: l Masken- und Klassendesigner l Projektmanager l Berichtsdesigner Wizards & Builders Gmb. H
HTML-Help Das neue Hilfesytem in HTML von Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Allgemeines zu HTML-Help HTML Help. Workshop statt Help Workshop 4. 0 l Unterstützung von: l Ø HTML-Darstellung Ø Active. X, Java. Script, VBScript Ø Bildformate JPG, GIF, PNG Ø Hyperlink ins Internet Ø Anzeige HTML-Quelltext Wizards & Builders Gmb. H
Verbindung mit Anwendung l Hilfe-Menü im Menü Ø SET HELP TO <help>. chm, HELP l Kontext-Sensitive Hilfe auf F 1 Ø ON KEY LABEL F 1 HELP l Whats. This. Help-Button Ø Help. Context. ID+HELP ID, SET TOPIC TO Ø Whats. This. Help, Whats. This. Button Wizards & Builders Gmb. H
Auszuliefernde Dateien <Help>. CHM Eigene Hilfedatei l HHCTRL. OCX Active. X-Control l ITSS. DLL Compiled HTML Lib l ITIRCL. DLL Text Search Lib l HH. EXE HTML Help Viewer l außerdem: Internet Explorer l Wizards & Builders Gmb. H
OLE-Drag & Drop OLE-Drag und Drop mit anderen Anwendungen in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Drag & Drop Allgemein Drag & Drop innerhalb VFP 5 l oder: OLE Drag & Drop ab VFP 6 l Ausführung mit Maustaste links, rechts (Menü), Tasten l Abbruch mit Escape l Sämtliche Werkzeuge von VFP unterstützten Drag & Drop l Wizards & Builders Gmb. H
Drag Source Eigenschaften: Drag. Picture, Drag. Mode l Ereignisse: Complete. Drag (Drop /Cancel), Give. Feedback (Over), Set. Data, Start. Drag (Drag) l Methoden: Drag l Wizards & Builders Gmb. H
Drop Target, Data. Object Drop Target Data. Object l Eigenschaften: l Methoden: Drop. Effects, Clear. Data, Set. Data, Drop. Has. Data, Get. Data, Set. Format, Drop. Mode Get. Format l Ereignisse: Drag. Drop, Drag. Over Wizards & Builders Gmb. H
Automatisches Drag OLEDrag. Mode=1 l Source: Image, Container, Line, Pagefram, Shape l Source und Text: Label, Commandbutton l Ditto+Variant: Check-, Combo-, Edit-, List-, Text-box, Spinner Wizards & Builders Gmb. H
Automatisches Drop OLEDrop. Mode=1 l Source: --l Text: Editbox, Combobox (nur als Drop. Down. Combo) l Variant: Spinner, Textbox Manuell: Überschreiben und Verwendung von NODEFAULT Wizards & Builders Gmb. H
Project Manager Hook Neue Projekt- und Projekt-Hook-Klasse in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Project Collection l l Am Application Objekt von VFP Project Collection mit Count und Item. Liste Active. Project OLE-fähig Wizards & Builders Gmb. H
Project Object Eigenschaften: Projekt/Hook/ Class, Server Help / Project, Type Lib CLSID / Desc / Name, Versions-Info / Auto. Increment, Build. Date. Time l Methoden: Build(), Refresh(), Clean. Up(), Set. Main() l Wizards & Builders Gmb. H
Project. Hook Object Eigenschaften: OLE-Properties l Ereignisse: Before/After. Build, OLE, Query. Add/Remove/Run/ Modify. File, Error l Methoden: Nix wichtiges l Wizards & Builders Gmb. H
Files Object Collection: Count, Add, Item l Eigenschaften: Codepage, Desc. , Exclude, Last. Modified, Name, Read. Only, SCCStatus, Type l Methoden: Addto. SCC, Chec. In, (Undo)Check. Out, Get. Latest-Version, Modify, Remove(SCC) l Wizards & Builders Gmb. H
Servers Object Collection: Count, Item l Eigenschaften: CLSID, Description, Help. Context. ID, Instancing, Prog. ID, Server. Class, Server. Library l Wizards & Builders Gmb. H
Automation Server Erstellung von eigenen OLE Automation Servern mit Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Neue Funktionen COMARRAY( ) l COMCLASSINFO( ) l CREATEOBJECTX( ) l COMRETURNERROR( ) l SYS(2334) Automation Server l SYS(2335) Unattended Server l Wizards & Builders Gmb. H
Neue Eigenschaften Server. Name Property l Start. Mode Property l Verbesserte Type-Library! l Application-Object mit Do. Cmd und Eval nicht eingetragen => kann man selbst machen. . . l Wizards & Builders Gmb. H
Wizards & Builders Neue und erweiterte (Steuerelement -)Assistenten in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Neue Assistenten l Application Wizard Ø Framework, Component Gallery l Connection Wizard Ø Code Generation, Reverse Engineering Database Wizard l Sample Wizard (Vorlage) l Web Publishing Wizard l Wizards & Builders Gmb. H
Verbesserte Assistenten 1 l Documenting Wizard Ø Code Analyser Form Wizard l Graph Wizard l Ø MS Graph 8. 0 Import Wizard l Label Wizards & Builders Gmb. H
Verbesserte Assistenten 2 Mail Merge Wizard l Pivot Table Wizard l Report Wizard l Remote View Wizard l Setup Wizard l Table Wizard l Wizards & Builders Gmb. H
Jahr 2000 Besssere Unterstützung der Jahr-2000 -Problematik in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Neue Defaults, Set Strict. Date SET CENTURY TO-Default = Jhd. l ROLLOVER-Default = +50 l STRICT DATE FORMAT l SET STRICTDATE TO l Ø 0 = ausgeschaltet Ø 1 = Datum im strikten Format Ø 2 = Fehler bei CTOD / CTOT Wizards & Builders Gmb. H
Weitere Änderungen Fehlermeldungen 2032 -2035 l Strict. Date-Property ungeändert l DATE und DATETIME erlauben numerische Paramter l FDATE mit , 1 gibt Date. Time l Century-Property Default=On l Wizards & Builders Gmb. H
Neue Befehle/Funktionen Neue Befehle und Funktionen in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Neue Methoden/Eigenschaften Methoden: l Add. Property l Grid. Hit. Test l New. Object Eigenschaften: l Display. Count l Title. Bar Alle anderen Eigenschaften, Methoden und Funktionen bereits erwähnt. . . Wizards & Builders Gmb. H
Neue Funktionen l l l AGet. Class ALines (Memo nach Array) AMouse. Obj ANet. Resources AVCXClasses l l l l File. To. Str. To. File Index. Seek New. Object Var. Type SYS(3055) For SYS(3056) Reg. Wizards & Builders Gmb. H
Neue Variablen/Befehle Systemvariablen: l _GALLERY l _GENHTML l _GETEXPR (Ausd. Dialog) l _INCLUDE (globale Header) l _SAMPLES SET-Befehle: l SET BROWSEIME l SET STRICTDATE (siehe Jahr 2000) Wizards & Builders Gmb. H
Übernahme von Fox. Tools l l l ADDBS AGet. File. Version Default. Ext Drive. Type Force. Ext Force. Path l l l Just. Drive Just. Ext Just. FName Just. Path Just. Stem Neue Foxtools. Funktionen! Wizards & Builders Gmb. H
Erweiterte Funktionen Erweiterte Befehle und Funktionen in Microsoft Visual Fox. Pro Wizards & Builders Gmb. H
Erweiterte Befehle 1 ALTER TABLE FOR-Klausel l APPEND FROM XL 8 / CSV l COMPILE DATABASE mit PACK MEMO l COPY TO CSV l CREATE FORM AS. VCX l DEFINE CLASS Access/Assign l Wizards & Builders Gmb. H
Erweiterte Befehle 2 IMPORT Format XL 8 l MODI MEMO ohne Coloring in ausgelieferten Anwendungen l REPORT IN SCREEN l SET BELL ohne Waveform l SET(„PRINTER“) + 3 Parameter l Wizards & Builders Gmb. H
Eigenschaften zu Klassen Century. Property geändert l Checkbox - Nachtrag Read. Only l Form - Erweiterung um Eigenschaft „Scroll. Bars“ und neues Ereignis „Scrolled“ l Label - Nachtrag Tool. Tip. Text l Project - Refresh für SCCStatus l Wizards & Builders Gmb. H
Nachtrag Eigenschaften Column/Cursor/Data. Environment/Header/Page/ Relation/Separator => Comment/Tag/Save. As u. a. l Container/Control/Custom/ Pageframe/Toolbar => Tag l Wizards & Builders Gmb. H
Erweiterte Funktionen 1 = jetzt auch für Objektvergleich l Date/Date. Time numerisch l Fdate mit Time-Parameter l Get. Dir mit größerer Box l Get. Font mehr Defaultwerte l Home neue Parameter l Wizards & Builders Gmb. H
Erweiterte Funktionen 2 OS mit DBCS-Abfrage l Pemstatus(6) für Vererbtes l Program(-1) für Levelabfrage l Str. Conv mit Locale. ID l SYS(2333) Default geändert l Tableupdate -1 für Aerror l Version mit neuen Formaten l Wizards & Builders Gmb. H
Sonstige Verbesserungen String Concatenation Performance stark verbessert l Active. X-GPFs ergeben ERROR 1440 OLE-Object may be corrupt l Editor. Comment. String in Registry l Leider Probleme mit Defaults l Wizards & Builders Gmb. H
Vorschau auf VFP 6. 1 l l Service Pack 3 Compile-Befehl zur Laufzeit Runtime-DLL für Multi-Threading in MS Trans. Server Bugfixing Wizards & Builders Gmb. H
Vielen Dank! Das waren die Themen: l l l l Access & Assign-Methoden Active Documents Component Gallery Application Framework Coverage Profiler GIF- & JPEG-Support HTML-Help OLE Drag & Drop Project Manager Hooks Automation Server Neue Assistenten Jahr 2000 -Unterstützung Neue/erweiterte Sprachelemente Vorschau auf VFP 6. 1 Wizards & Builders Gmb. H
Wenn Fragen bestehen: Wizards & Builders Methodische Software. Entwicklung Gmb. H Frankfurter Str. 21 b 61476 Kronberg Tel. : 06173 -950906 Fax: 06173 -950907 CIS: 101605, 175 Wizards & Builders Gmb. H