|
|
|
|
- The steps for creating a RAD pattern
- Creating the different pattern windows
- The files to create
- Difference between Mobile and Smartphone
- Standard to follow
- The link options in Mobile
Creating the link menus in the windows of a WINDEV Mobile RAD pattern
The steps for creating a RAD pattern Creating the different pattern windows The files to create Reminder: To build a RAD pattern used to create a full project, the following files are required: - A form for RADFileA.
- A form for RADFileB. A combo box and a Vision Plus button (or a popup combo box) must allow you to select an element of RADFileA.
- A form for RADFileC. A combo box and a Vision Plus button (or a popup combo box) must allow you to select an element of RADFileB.
- A table for RADFileA.
- A table for RADFileB.
- A table for RADFileC.
- A relation window RADFileB/RADFileD.
These different elements must contain link buttons. You also have the ability to provide the main menu of the application. Difference between Mobile and Smartphone Creating an application for Mobile and an application for Smartphone are two different things. On a Smartphone, the screen is smaller and a drop-down menu allows you to validate (or not) the screens. This difference also applies to the RAD patterns. This help page explains how to create a form window for Mobile and for Smartphone. Standard to follow This help page presents the different rules that must be applied when creating the pages and windows of the RAD pattern. These rules have been used to create the different patterns supplied with WINDEV Mobile 16. These rules are recommendations. You can implement and use your own standard. The link options in Mobile The Form or Table windows can include link menu options. These link menu options are used to display a table, a form or a table + form on the linked files. A simple example: viewing the orders of a customer from the form of the customer. A link option must necessarily: - be named: MENULIA_RADFileX. Any caption can be used. However, we recommend that you use a simple caption ("RADFileB table" or "RADFileA form" for example).
- be an option of a main menu named "MAINMENU_OPTIONS", whose caption is "Options".
Code: Example of code that can be used in a menu option, used to open a table on the RADFileB file from the form on RADFileA:
// Implement the filter on the link key HFilter(RADFileB,IDRADFileARel,RADFileA.IDRADFileA) // Open the table window of RADFileB Open(WIN_Table_RADFileB) // Disable filter HDeactivateFilter(RADFileB)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|