...
This course was designed so you can approach it in two differen different ways:
- either you follow all the detailed exercises in each lesson (recommended method)
- or, if you are in a hurry and already experienced, you can read through it without doing the exercises, as all the exercises have screen shots. However, in order to quickly assimilate the main concepts, we recommend that you follow the course step by step.
I'll give the tutorial a go, although by nature I'm a bit impatient with these kinds of things.
Tutorial: Discovering WinDev
Some very basic stuff here. Definition of an application, a project (what in C7 and later Clarion devs call a solution). Which raises the question of how you organize really large apps in WinDev.
...
Skins are also mentioned as a key concept - the skin controls the appearance of the application. And style sheets. I'm familiar with CSS and I can see how this would be key to web apps, but this is a WinDev tutorial so it will be interesting to see how style sheets come into play.
My_First_Windows
My_First_Windows is the first tutorial sample project. The tutorial tells me I'm going to create a few windows and some basic controls.
...
Right-clicking on the window brings up the WinDev equivalent of a properties pad:
The tutorial makes note of the WIN_ prefix on the default window name. This is due to the use of a programming charter, which prepends standard prefixes to generated labels. You can use a standard charter, you can use your own charter, or you can avoid using charters entirely. Peter Holemans is one who found problems with charters in certain situations.
...
Interestingly, placing a control isn't a drag/drop affair from a toolbox as with most IDEs; instead you choose a control from the menu then click where you want it to go (C6 style).
Here's the control on the window:
You can bring up the control properties either by right-clicking and choosing Description or by double-clicking.
Using the properties I changed the control name and set the initial value as specified.
All of this resulted in two warnings and two errors (the errors were predicted by the tutorial). Note that at no time did I do an explicit compile - these errors were automatically discovered reported by the IDE, which I assume did a compile when I saved the window.
The solution to the errors is easy, as explained in the tutorial. They are caused by my renaming the control. Simply right-click on either of the errors and choose Rename all the references. Easy peasy.
...