SlideShare une entreprise Scribd logo
1  sur  17
Docking from A-Z in Visual FoxPro
              9.0

           Mike Feltman
Who Am I
•   Presient F1 Technologies
•   Visual FoxExpress Developer
•   mikefeltman@f1tech.com
•   Visual FoxPro Dinosaur
Agenda
• Docking for the developer
  – Docking in the VFP IDE
  – Docking with Code
• Docking in Applications
  –   Dockable Toolbars
  –   Dockable Forms
  –   Forms vs. Toolbars
  –   Practical Applications?
The Mechanics of Docking
•   Docking Windows
•   Docking Toolbars
•   Tab Docking
•   Link Docking
Dockable IDE Windows
• Command Window, Data Session, Toolbox, etc.
• Project Manager
“Non-Dockable” IDE Windows
•   Object Browser,
•   Task Pane,
•   Class Browser,
•   Component Gallery,
•   Code References
•   Task List
Programmatic Docking in the IDE
• Non-VFP Forms
    – DOCK WINDOW
• VFP Forms
    – Form.Dockable
•   WDOCKABLE()
•   ADOCKSTATE()
•   SetIDE.prg
Docking in Applications
•   Forms vs. Toolbars
•   Tab & Link Docking
•   Events to the Rescue?
•   BindEvents anyone?
Forms vs. Toolbars
•   Autosizing
•   Auto Arrangement
•   (ex1 & ex2)
•   Manual Resizing
•   Manual Moving
Tab & Link Docking
•   Support is automatic
•   Cannot be turned off
•   Ex3.prg
Events to the Rescue?
•   BeforeDock
•   AfterDock
•   Undock
The Dockposition Property
•   –1 Not docked
•   0 Top
•   1 Left
•   2 Right
•   3 Bottom
•   4 Tabbed (forms only)
•   5 Link-docked (forms only)
The Dockable Property
• 0 – not dockable
• 1 – supports docking and is dockable (ex7 & 8
  show quirk)
• 2 – supports docking but is not currently
  dockable
More on Autosizing & Arrangement
• Form autosizing details
  –   Fills in “docking in direction”
  –   No other adjustment
  –   Cannot change via code
• Toolbars
  –   Only stretches as necessary
  –   Height/Width adjusted
  –   Can fill with container
Practical Examples
•   Application “Navigator”
•   Task Panes
•   Tip of the Day
•   “Dock Target” desktop
Conclusion
• Docking support in the VFP IDE allows the
  developer to customize the IDE to be more
  productive
• There are some uses for docking in
  applications
• More control over docking is needed to make
  it really usable in applications
Thank you!

Please remember to fill out your
          evaluation.

Contenu connexe

Tendances

Joomla as a mobile App backend - ideas, examples and experiences
Joomla as a mobile App backend - ideas, examples and experiencesJoomla as a mobile App backend - ideas, examples and experiences
Joomla as a mobile App backend - ideas, examples and experiencesAndy_Gaskell
 
App.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application DevelopmentApp.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application DevelopmentTeamstudio
 
Migrate PHP E-Commerce Site to Go
Migrate PHP E-Commerce Site to GoMigrate PHP E-Commerce Site to Go
Migrate PHP E-Commerce Site to GoWeng Wei
 
EclipseCon Europe 2011
EclipseCon Europe 2011EclipseCon Europe 2011
EclipseCon Europe 2011Sigasi
 
Metaprogramming Go
Metaprogramming GoMetaprogramming Go
Metaprogramming GoWeng Wei
 
Firefox OS Apps & APIs - Dutch Mobile Conference / Serbia & Montenegro App da...
Firefox OS Apps & APIs - Dutch Mobile Conference / Serbia & Montenegro App da...Firefox OS Apps & APIs - Dutch Mobile Conference / Serbia & Montenegro App da...
Firefox OS Apps & APIs - Dutch Mobile Conference / Serbia & Montenegro App da...Jan Jongboom
 
Getting started with Xamarin forms
Getting started with Xamarin formsGetting started with Xamarin forms
Getting started with Xamarin formsSolTech, Inc.
 
Fast Web Applications with Go
Fast Web Applications with Go Fast Web Applications with Go
Fast Web Applications with Go Eylem Ozekin
 
Ask the XPages Experts
Ask the XPages ExpertsAsk the XPages Experts
Ask the XPages ExpertsTeamstudio
 
How to Successfully Implement Headless Drupal
How to Successfully Implement Headless DrupalHow to Successfully Implement Headless Drupal
How to Successfully Implement Headless DrupalAcquia
 
SharePoint 2013 Sandbox Solutions for On Premise and Office 365
SharePoint 2013 Sandbox Solutions for On Premise and Office 365SharePoint 2013 Sandbox Solutions for On Premise and Office 365
SharePoint 2013 Sandbox Solutions for On Premise and Office 365Ed Musters
 
What is SharePoint Development??
What is SharePoint Development??What is SharePoint Development??
What is SharePoint Development??Mark Rackley
 
Lessons Learned from Building Windows 8 Store Apps with MVVM and XAML
Lessons Learned from Building Windows 8 Store Apps with MVVM and XAMLLessons Learned from Building Windows 8 Store Apps with MVVM and XAML
Lessons Learned from Building Windows 8 Store Apps with MVVM and XAMLMike Douglas
 
European O365 Connect SharePoint Online Applification
European O365 Connect SharePoint Online ApplificationEuropean O365 Connect SharePoint Online Applification
European O365 Connect SharePoint Online ApplificationAlbert-Jan Schot
 
Everything XControls
Everything XControlsEverything XControls
Everything XControlsTeamstudio
 
Building micro-web-server
Building micro-web-serverBuilding micro-web-server
Building micro-web-serverMarcio Klepacz
 
Figma design tool - an alternative for windows users
Figma design tool - an alternative for windows usersFigma design tool - an alternative for windows users
Figma design tool - an alternative for windows usersAugustina Reipšlėger
 

Tendances (20)

Joomla as a mobile App backend - ideas, examples and experiences
Joomla as a mobile App backend - ideas, examples and experiencesJoomla as a mobile App backend - ideas, examples and experiences
Joomla as a mobile App backend - ideas, examples and experiences
 
App.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application DevelopmentApp.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application Development
 
Migrate PHP E-Commerce Site to Go
Migrate PHP E-Commerce Site to GoMigrate PHP E-Commerce Site to Go
Migrate PHP E-Commerce Site to Go
 
EclipseCon Europe 2011
EclipseCon Europe 2011EclipseCon Europe 2011
EclipseCon Europe 2011
 
Metaprogramming Go
Metaprogramming GoMetaprogramming Go
Metaprogramming Go
 
Firefox OS Apps & APIs - Dutch Mobile Conference / Serbia & Montenegro App da...
Firefox OS Apps & APIs - Dutch Mobile Conference / Serbia & Montenegro App da...Firefox OS Apps & APIs - Dutch Mobile Conference / Serbia & Montenegro App da...
Firefox OS Apps & APIs - Dutch Mobile Conference / Serbia & Montenegro App da...
 
Ohoh
OhohOhoh
Ohoh
 
Getting started with Xamarin forms
Getting started with Xamarin formsGetting started with Xamarin forms
Getting started with Xamarin forms
 
Fast Web Applications with Go
Fast Web Applications with Go Fast Web Applications with Go
Fast Web Applications with Go
 
Ask the XPages Experts
Ask the XPages ExpertsAsk the XPages Experts
Ask the XPages Experts
 
How to Successfully Implement Headless Drupal
How to Successfully Implement Headless DrupalHow to Successfully Implement Headless Drupal
How to Successfully Implement Headless Drupal
 
SharePoint 2013 Sandbox Solutions for On Premise and Office 365
SharePoint 2013 Sandbox Solutions for On Premise and Office 365SharePoint 2013 Sandbox Solutions for On Premise and Office 365
SharePoint 2013 Sandbox Solutions for On Premise and Office 365
 
What is SharePoint Development??
What is SharePoint Development??What is SharePoint Development??
What is SharePoint Development??
 
Lessons Learned from Building Windows 8 Store Apps with MVVM and XAML
Lessons Learned from Building Windows 8 Store Apps with MVVM and XAMLLessons Learned from Building Windows 8 Store Apps with MVVM and XAML
Lessons Learned from Building Windows 8 Store Apps with MVVM and XAML
 
European O365 Connect SharePoint Online Applification
European O365 Connect SharePoint Online ApplificationEuropean O365 Connect SharePoint Online Applification
European O365 Connect SharePoint Online Applification
 
Everything XControls
Everything XControlsEverything XControls
Everything XControls
 
Polyglot engineering
Polyglot engineeringPolyglot engineering
Polyglot engineering
 
Resume 10-24-16
Resume 10-24-16Resume 10-24-16
Resume 10-24-16
 
Building micro-web-server
Building micro-web-serverBuilding micro-web-server
Building micro-web-server
 
Figma design tool - an alternative for windows users
Figma design tool - an alternative for windows usersFigma design tool - an alternative for windows users
Figma design tool - an alternative for windows users
 

En vedette (20)

Visual foxpro
Visual foxproVisual foxpro
Visual foxpro
 
Comenzi fox pro
Comenzi fox proComenzi fox pro
Comenzi fox pro
 
Fox pro 2.6
Fox pro 2.6Fox pro 2.6
Fox pro 2.6
 
Comenzi fox pro
Comenzi fox proComenzi fox pro
Comenzi fox pro
 
SQL
SQLSQL
SQL
 
Special operators in Database
Special operators in DatabaseSpecial operators in Database
Special operators in Database
 
Visual fox pro manual del programador
Visual fox pro manual del programadorVisual fox pro manual del programador
Visual fox pro manual del programador
 
Sql Basics And Advanced
Sql Basics And AdvancedSql Basics And Advanced
Sql Basics And Advanced
 
como crear un proyecto en visual fox
como crear un proyecto en visual foxcomo crear un proyecto en visual fox
como crear un proyecto en visual fox
 
Guía de Visual Fox Pro 9.0
Guía de Visual Fox Pro 9.0Guía de Visual Fox Pro 9.0
Guía de Visual Fox Pro 9.0
 
Formularios En Visual Fox Pro
Formularios En Visual Fox ProFormularios En Visual Fox Pro
Formularios En Visual Fox Pro
 
E book visual foxpro
E book visual foxproE book visual foxpro
E book visual foxpro
 
Tutorial Microsoft Visual FoxPro 9.0
Tutorial Microsoft Visual FoxPro 9.0Tutorial Microsoft Visual FoxPro 9.0
Tutorial Microsoft Visual FoxPro 9.0
 
Ejercicios visual fox
Ejercicios visual foxEjercicios visual fox
Ejercicios visual fox
 
Visual foxpro
Visual foxproVisual foxpro
Visual foxpro
 
DBMS lab manual
DBMS lab manualDBMS lab manual
DBMS lab manual
 
Sql queries interview questions
Sql queries interview questionsSql queries interview questions
Sql queries interview questions
 
Dbms lab questions
Dbms lab questionsDbms lab questions
Dbms lab questions
 
DBMS Practical File
DBMS Practical FileDBMS Practical File
DBMS Practical File
 
Best sql plsql material
Best sql plsql materialBest sql plsql material
Best sql plsql material
 

Similaire à Docking from a z in visual fox pro 9

Zero to Sixty with Oracle ApEx
Zero to Sixty with Oracle ApExZero to Sixty with Oracle ApEx
Zero to Sixty with Oracle ApExBradley Brown
 
Spec 2.0: The next step on desktop UI
Spec 2.0: The next step on desktop UI Spec 2.0: The next step on desktop UI
Spec 2.0: The next step on desktop UI Pharo
 
iOS团队开发实践经验
iOS团队开发实践经验iOS团队开发实践经验
iOS团队开发实践经验Jiyee Sheng
 
Masterin Large Scale Java Script Applications
Masterin Large Scale Java Script ApplicationsMasterin Large Scale Java Script Applications
Masterin Large Scale Java Script ApplicationsFabian Jakobs
 
Rich Internet Applications and Flex - 1
Rich Internet Applications and Flex - 1Rich Internet Applications and Flex - 1
Rich Internet Applications and Flex - 1Vijay Kalangi
 
Build software like a bag of marbles, not a castle of LEGO®
Build software like a bag of marbles, not a castle of LEGO®Build software like a bag of marbles, not a castle of LEGO®
Build software like a bag of marbles, not a castle of LEGO®Hannes Lowette
 
Xcode, Basics and Beyond
Xcode, Basics and BeyondXcode, Basics and Beyond
Xcode, Basics and Beyondrsebbe
 
SharePoint Saturday San Antonio: Workflow 2013
SharePoint Saturday San Antonio: Workflow 2013SharePoint Saturday San Antonio: Workflow 2013
SharePoint Saturday San Antonio: Workflow 2013Sam Larko
 
Lessons learned from building Eclipse-based add-ons for commercial modeling t...
Lessons learned from building Eclipse-based add-ons for commercial modeling t...Lessons learned from building Eclipse-based add-ons for commercial modeling t...
Lessons learned from building Eclipse-based add-ons for commercial modeling t...IncQuery Labs
 
Web app job and functions - TUGAIT 2017
Web app job and functions  - TUGAIT 2017Web app job and functions  - TUGAIT 2017
Web app job and functions - TUGAIT 2017Steef-Jan Wiggers
 
Transitioning Groupon to Node.js - EmpireJS 2014
Transitioning Groupon to Node.js - EmpireJS 2014Transitioning Groupon to Node.js - EmpireJS 2014
Transitioning Groupon to Node.js - EmpireJS 2014Sean McCullough
 
Intro to SharePoint 2010 development for .NET developers
Intro to SharePoint 2010 development for .NET developersIntro to SharePoint 2010 development for .NET developers
Intro to SharePoint 2010 development for .NET developersJohn Ferringer
 
Lean-Agile SharePoint Development
Lean-Agile SharePoint DevelopmentLean-Agile SharePoint Development
Lean-Agile SharePoint DevelopmentBill Ayers
 
CrossWorlds: Unleash the Power of Domino for Connections Development
CrossWorlds: Unleash the Power of Domino for Connections Development CrossWorlds: Unleash the Power of Domino for Connections Development
CrossWorlds: Unleash the Power of Domino for Connections Development LetsConnect
 
Next Step, Android Studio!
Next Step, Android Studio!Next Step, Android Studio!
Next Step, Android Studio!Édipo Souza
 
Rise of the hybrids
Rise of the hybridsRise of the hybrids
Rise of the hybridsOron Ben Zvi
 

Similaire à Docking from a z in visual fox pro 9 (20)

JetvsAdf
JetvsAdfJetvsAdf
JetvsAdf
 
Zero to Sixty with Oracle ApEx
Zero to Sixty with Oracle ApExZero to Sixty with Oracle ApEx
Zero to Sixty with Oracle ApEx
 
The Architect Way
The Architect WayThe Architect Way
The Architect Way
 
Spec 2.0
Spec 2.0Spec 2.0
Spec 2.0
 
Spec 2.0: The next step on desktop UI
Spec 2.0: The next step on desktop UI Spec 2.0: The next step on desktop UI
Spec 2.0: The next step on desktop UI
 
iOS团队开发实践经验
iOS团队开发实践经验iOS团队开发实践经验
iOS团队开发实践经验
 
Masterin Large Scale Java Script Applications
Masterin Large Scale Java Script ApplicationsMasterin Large Scale Java Script Applications
Masterin Large Scale Java Script Applications
 
Rich Internet Applications and Flex - 1
Rich Internet Applications and Flex - 1Rich Internet Applications and Flex - 1
Rich Internet Applications and Flex - 1
 
Build software like a bag of marbles, not a castle of LEGO®
Build software like a bag of marbles, not a castle of LEGO®Build software like a bag of marbles, not a castle of LEGO®
Build software like a bag of marbles, not a castle of LEGO®
 
Xcode, Basics and Beyond
Xcode, Basics and BeyondXcode, Basics and Beyond
Xcode, Basics and Beyond
 
SharePoint Saturday San Antonio: Workflow 2013
SharePoint Saturday San Antonio: Workflow 2013SharePoint Saturday San Antonio: Workflow 2013
SharePoint Saturday San Antonio: Workflow 2013
 
Lessons learned from building Eclipse-based add-ons for commercial modeling t...
Lessons learned from building Eclipse-based add-ons for commercial modeling t...Lessons learned from building Eclipse-based add-ons for commercial modeling t...
Lessons learned from building Eclipse-based add-ons for commercial modeling t...
 
Web app job and functions - TUGAIT 2017
Web app job and functions  - TUGAIT 2017Web app job and functions  - TUGAIT 2017
Web app job and functions - TUGAIT 2017
 
Zend Code in ZF 2.0
Zend Code in ZF 2.0Zend Code in ZF 2.0
Zend Code in ZF 2.0
 
Transitioning Groupon to Node.js - EmpireJS 2014
Transitioning Groupon to Node.js - EmpireJS 2014Transitioning Groupon to Node.js - EmpireJS 2014
Transitioning Groupon to Node.js - EmpireJS 2014
 
Intro to SharePoint 2010 development for .NET developers
Intro to SharePoint 2010 development for .NET developersIntro to SharePoint 2010 development for .NET developers
Intro to SharePoint 2010 development for .NET developers
 
Lean-Agile SharePoint Development
Lean-Agile SharePoint DevelopmentLean-Agile SharePoint Development
Lean-Agile SharePoint Development
 
CrossWorlds: Unleash the Power of Domino for Connections Development
CrossWorlds: Unleash the Power of Domino for Connections Development CrossWorlds: Unleash the Power of Domino for Connections Development
CrossWorlds: Unleash the Power of Domino for Connections Development
 
Next Step, Android Studio!
Next Step, Android Studio!Next Step, Android Studio!
Next Step, Android Studio!
 
Rise of the hybrids
Rise of the hybridsRise of the hybrids
Rise of the hybrids
 

Plus de Mike Feltman

Feltman collections
Feltman collectionsFeltman collections
Feltman collectionsMike Feltman
 
Java script for foxpro developers
Java script for foxpro developersJava script for foxpro developers
Java script for foxpro developersMike Feltman
 
N tier web applications
N tier web applicationsN tier web applications
N tier web applicationsMike Feltman
 
Html for desktop applications
Html for desktop applicationsHtml for desktop applications
Html for desktop applicationsMike Feltman
 
Html and visual fox pro
Html and visual fox proHtml and visual fox pro
Html and visual fox proMike Feltman
 
Error handling in visual fox pro 9
Error handling in visual fox pro 9Error handling in visual fox pro 9
Error handling in visual fox pro 9Mike Feltman
 
Introduction to afp
Introduction to afpIntroduction to afp
Introduction to afpMike Feltman
 
Where do you want to go today 2007
Where do you want to go today   2007Where do you want to go today   2007
Where do you want to go today 2007Mike Feltman
 

Plus de Mike Feltman (13)

Drop acid
Drop acidDrop acid
Drop acid
 
Feltman collections
Feltman collectionsFeltman collections
Feltman collections
 
Feltman js4 vfp
Feltman js4 vfpFeltman js4 vfp
Feltman js4 vfp
 
Java script for foxpro developers
Java script for foxpro developersJava script for foxpro developers
Java script for foxpro developers
 
N tier web applications
N tier web applicationsN tier web applications
N tier web applications
 
Web 101
Web 101Web 101
Web 101
 
VFP & Ajax
VFP & AjaxVFP & Ajax
VFP & Ajax
 
Html for desktop applications
Html for desktop applicationsHtml for desktop applications
Html for desktop applications
 
Html and visual fox pro
Html and visual fox proHtml and visual fox pro
Html and visual fox pro
 
Error handling in visual fox pro 9
Error handling in visual fox pro 9Error handling in visual fox pro 9
Error handling in visual fox pro 9
 
Client server
Client serverClient server
Client server
 
Introduction to afp
Introduction to afpIntroduction to afp
Introduction to afp
 
Where do you want to go today 2007
Where do you want to go today   2007Where do you want to go today   2007
Where do you want to go today 2007
 

Docking from a z in visual fox pro 9

  • 1. Docking from A-Z in Visual FoxPro 9.0 Mike Feltman
  • 2. Who Am I • Presient F1 Technologies • Visual FoxExpress Developer • mikefeltman@f1tech.com • Visual FoxPro Dinosaur
  • 3. Agenda • Docking for the developer – Docking in the VFP IDE – Docking with Code • Docking in Applications – Dockable Toolbars – Dockable Forms – Forms vs. Toolbars – Practical Applications?
  • 4. The Mechanics of Docking • Docking Windows • Docking Toolbars • Tab Docking • Link Docking
  • 5. Dockable IDE Windows • Command Window, Data Session, Toolbox, etc. • Project Manager
  • 6. “Non-Dockable” IDE Windows • Object Browser, • Task Pane, • Class Browser, • Component Gallery, • Code References • Task List
  • 7. Programmatic Docking in the IDE • Non-VFP Forms – DOCK WINDOW • VFP Forms – Form.Dockable • WDOCKABLE() • ADOCKSTATE() • SetIDE.prg
  • 8. Docking in Applications • Forms vs. Toolbars • Tab & Link Docking • Events to the Rescue? • BindEvents anyone?
  • 9. Forms vs. Toolbars • Autosizing • Auto Arrangement • (ex1 & ex2) • Manual Resizing • Manual Moving
  • 10. Tab & Link Docking • Support is automatic • Cannot be turned off • Ex3.prg
  • 11. Events to the Rescue? • BeforeDock • AfterDock • Undock
  • 12. The Dockposition Property • –1 Not docked • 0 Top • 1 Left • 2 Right • 3 Bottom • 4 Tabbed (forms only) • 5 Link-docked (forms only)
  • 13. The Dockable Property • 0 – not dockable • 1 – supports docking and is dockable (ex7 & 8 show quirk) • 2 – supports docking but is not currently dockable
  • 14. More on Autosizing & Arrangement • Form autosizing details – Fills in “docking in direction” – No other adjustment – Cannot change via code • Toolbars – Only stretches as necessary – Height/Width adjusted – Can fill with container
  • 15. Practical Examples • Application “Navigator” • Task Panes • Tip of the Day • “Dock Target” desktop
  • 16. Conclusion • Docking support in the VFP IDE allows the developer to customize the IDE to be more productive • There are some uses for docking in applications • More control over docking is needed to make it really usable in applications
  • 17. Thank you! Please remember to fill out your evaluation.