PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • WLanguage and OOP
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
The object-oriented programming (called "OOP") is a programming paradigm in which the programs are organized as sets of objects. Each object represents an instance of a given class, all the classes being members of a class hierarchy unified by inheritance releationships.
Therefore, objects are used by the OOP.
  • Each object is an instance of a given class.
  • The classes are linked between themselves by the inheritance relationships.
Versions 17 and later
AndroidUniversal Windows 10 App The OOP is now available for the Android and Windows Phone applications.
iPhone/iPad The OOP is now available for the iPhone and iPad applications.
New in version 17
AndroidUniversal Windows 10 App The OOP is now available for the Android and Windows Phone applications.
iPhone/iPad The OOP is now available for the iPhone and iPad applications.
AndroidUniversal Windows 10 App The OOP is now available for the Android and Windows Phone applications.
iPhone/iPad The OOP is now available for the iPhone and iPad applications.
Versions 21 and later
Universal Windows 10 App The OOP is available in Universal Windows 10 App mode.
Apple Watch The OOP is available in Apple Watch mode.
New in version 21
Universal Windows 10 App The OOP is available in Universal Windows 10 App mode.
Apple Watch The OOP is available in Apple Watch mode.
Universal Windows 10 App The OOP is available in Universal Windows 10 App mode.
Apple Watch The OOP is available in Apple Watch mode.
WLanguage and OOP
The WLanguage is object-oriented:
  • it supports the objects
  • the objects have an associated class
  • the classes can inherit attributes coming from "super classes"
Important: The purpose of this chapter is not to describe OOP concepts, but only to describe how to declare classes, methods and objects in WLanguage. This chapter presents the OOP syntax of WLanguage and the principle for creating an object-oriented program in WLanguage.
We assume that readers are familiar with the concept of classes, objects and inheritances, ...
If you are not familiar with OOP, we recommend that you read an OOP guide before you continue with the rest of this documentation.
Related Examples:
WD Simple OOP Training (WINDEV): WD Simple OOP
[ + ] The "WD Simple OOP" example is an educational example about the OOP with WINDEV. This example presents the operating mode of:
- classes,
- inheritances,
- virtual procedures,
- UML diagrams,
- ...
WD Controlling word processor Training (WINDEV): WD Controlling word processor
[ + ] The purpose of this example is to propose a universal interface, allowing to control these applications without having to worry about the application to control. This example is based on an object-oriented programming concept: the polymorphism. It consists in using different objects (OpenOffice object and Microsoft Word object) without really knowing which one is used.
WD Graphic Objects Training (WINDEV): WD Graphic Objects
[ + ] This educational example illustrates the power of WLanguage regarding object-oriented programming.
This example is an editor of graphic objects.

You have the ability to:
- move, resize the objects
- perform selections with the lasso or with the mouse
- cut/copy/paste objects
- delete/duplicate objects
- save the created documents and print them.

The main technical features presented and documented in this example are as follows:
- managing a clipboard of objects
- managing UNDO/REDO
- serializing and deserializing objects
- OOP
- algorithms for managing graphic objects (proportional resize operations, management of movement rules, etc.)
WD Controlling Outlook Training (WINDEV): WD Controlling Outlook
[ + ] This program, powered by WINDEV, is used to read and write in the Outlook folders:
- Email
- Calendar
- Contacts
- Tasks
- Notes

An OLE dialog is used to read and write data in the Outlook files.
Note: We will be using the Outlook software supplied with the later versions of MS-Office. The software used is not "Outlook express".

"WD Controlling Outlook" also presents an example for using the WINDEV databinding between the variables found in the code and in the controls.

This example also presents the OOP (Object-Oriented Programming) and the UML diagrams.
WD Flowchart Training (WINDEV): WD Flowchart
[ + ] This example is used to create organization charts.
An organization chart is used to indicate the repartition of the managers within a company and the relationships that exist between these managers.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment