Programming
2.4 Complex dialog elements
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-53
//G(MB_TAB/0/4/,1)
(IB///,"M1.1, M2.1, M3.1"/// "M1.1"/100/1)
(IB///,"M1.1, M1.2, M1.3"/// "M1.1"/100/,1)
Result:
M1.1, M2.1, M3.1 M1.1, M1.2, M1.3
Value(M1.1) Value(M1.1)
Value(M2.1) Value(M1.2)
Value(M3.1) Value(M1.3)
Other options:
● Ascending numbers can be entered in the first column:
Example: (I///,"Line"///"0"/60/1)
● Consecutive texts from the language files can be entered in the first column:
Example: (S///,"Line"///"$80000"/60/1)
2.4.10 Example Loading different table grids
Description
In this example the "dummygrid" table is first assigned to variable "VAR1". Depending on the
content of the R-parameter R[0], either the "grid1" or "grid2" table will be loaded in the LOAD
block. The tables are defined in the same file as the variable "VAR1".
//M(SCREEN FORM1/"GRID")
DEF VAR1=(R/% dummygrid///////200,75,300,85)
HS1=("")
HS2=("")
HS3=("")
HS4=("")
HS5=("")
HS6=("")
HS7=("")
HS8=("")
VS1=("")
VS2=("")
VS3=("")
VS4=("")
VS5=("")
VS6=("")