4D v13Video script |
||
|
4D v13
Video script
Video script
In this video, we're going to produce the navigation model. We will need:
Let's start by making the main navigation screen. As you saw in the final application presentation video, we need to integrate into our software the management of intervention requests, locations and technicians, all from the main screen. So now we're going to create this main screen. In the toolbar:
A blank form appears along with the Property List. You use the tools on the left to add objects to the form:
The tools at the top let you manipulate the objects:
Let's start by creating a simple navigation interface in order to understand how it works:
This lets us close the window.
We will soon see how to program this button so that it display the list of interventions. To test this form, click on the green triangle at the top left of the form. 4D then shows the form as the user will see it. Notice that the window adapts itself to the size of the form. Resizing is automatic which saves you time both for development and maintenance (of course, this automatic resizing can be disabled when necessary).
Now let's make this 2nd button functional:
ALERT("List of Interventions available soon...") when you validate this line, the ALERT command is automatically recognized.
You can now see the "shield" indicating that a method is associated with the object.
The alert message then appears. Later on, we'll turn these buttons to picture buttons to make our application easier to use. To reinforce this initial groundwork, we're going to create a second button to display the list of "Technicians". You can simply duplicate objects. When you do, all the object properties and any associated methods are duplicated as well. Only the object name is different since each object must have a unique name within a form. So here we can change the title and the object method that are also available in the properties. |
PROPERTIES
Product: 4D |