Support Forum

[Frage] Question related to I_INFIELD


Hi, does anyone know how to insert in the I_INFIELD command the writings you see inside the red circle?
For clarification, "t_0_0" is an image related to "cut_1"

I_ROW "Cut 1"
I_INFIELD "tag_p1" , clsz , row * rowsz , ctlw , 28 , ! ctlh ,
3 , "" , 2 , 1 ,
22 , 22 , 100 , 30 ,
"t_0_0" , "" ,0
I_ROW_END

Anhänge (1)

Typ: image/png
85-mal heruntergeladen
Größe: 1,43 KiB
1 - 10 (17)

Hello,

Your goal is not clear.
Could you please give more details?


You have to use I_INFIELD_3:

I_INFIELD_3 "num" , clsz , row * rowsz , ctlw , 22 ,
2 , "" , 2 , 1 , 
18 , 18 , 16 , 16 , 
"param01" , "Text1" , 1 ,
"param02",  "Text2" , 2 ,
"param03" , "Text3" , 3

The parameter must have an VALUES - entry in Parameter-Script.
Only for this values items are shown in the combobox!

Anhänge (2)

Typ: image/png
93-mal heruntergeladen
Größe: 99,41 KiB
Typ: text/xml
540-mal heruntergeladen
Größe: 4,76 KiB

Zitiert von: Nemo
You have to use I_INFIELD_3:

I_INFIELD_3 "num" , clsz , row * rowsz , ctlw , 22 ,
2 , "" , 2 , 1 , 18 , 18 , 16 , 16 , "param01" , "Text1" , 1 ,
"param02", "Text2" , 2 ,
"param03" , "Text3" , 3The parameter must have an VALUES - entry in Parameter-Script.

Only for this values items are shown in the combobox!


Thank you very much Nemo for indications! It was just what I wanted. Goodbye.

Zitiert von: Bertrand_C
Hello,
Your goal is not clear.

Could you please give more details?


Nemo answered my question. Thanks anyway Bertrand. Goodbye.

Zitiert von: Nemo
You have to use I_INFIELD_3:

I_INFIELD_3 "num" , clsz , row * rowsz , ctlw , 22 ,
2 , "" , 2 , 1 , 18 , 18 , 16 , 16 , "param01" , "Text1" , 1 ,
"param02", "Text2" , 2 ,
"param03" , "Text3" , 3The parameter must have an VALUES - entry in Parameter-Script.

Only for this values items are shown in the combobox!


Hi, it's possible, under certain conditions chosen by the user, to disable (not hide) just one of the elements?

Hello,

Yes, you have to plan the cases...


Zitiert von: Bertrand_C
Ciao,
Sì, devi pianificare i casi...

Thank you Bertrand for info but I don't know how make this. Can you make an example with the example of Nemo?

I'll just clarify the principle.
You are going to prepare several "I_INFIELD".
Using condition functions (IF for example), you can decide which I_INFIELD should be displayed according to your criteria.

IF .... THEN
   I_INFIELD .... (case A)
ELSE
   IF .... THEN
      I_INFIELD .... (case B)
   ELSE
      IF .... THEN
         I_INFIELD .... (case C)
      ELSE
         I_INFIELD .... (case D)
      END IF
   END IF
END IF


Zitiert von: Bertrand_C
I'll just clarify the principle.

You are going to prepare several "I_INFIELD".

Using condition functions (IF for example), you can decide which I_INFIELD should be displayed according to your criteria.
IF .... THEN I_INFIELD .... (case A)
ELSE IF .... THEN I_INFIELD .... (case B) ELSE IF .... THEN I_INFIELD .... (case C) ELSE I_INFIELD .... (case D) END IF END IF
END IF


Thanks Bertrand for the example but in this case, if I'm not mistaken, when a case occurs, for example the condition of case A, the parameter is hidden and I wouldn't want this. Let me explain better with an example.

IF ... THEN !CASE A
I_INFIELD_3 "num" , clsz , row * rowsz , ctlw , 22 ,
2 , "" , 2 , 1 ,
18 , 18 , 16 , 16 ,
"param01" , "Text1" , 1 ,
"param02", "Text2" , 2 ,
"param03" , "Text3" , 3 !This is visible but not selectable
ELSE
IF ... THEN !CASE B
I_INFIELD_3 "num" , clsz , row * rowsz , ctlw , 22 ,
2 , "" , 2 , 1 ,
18 , 18 , 16 , 16 ,
"param01" , "Text1" , 1 ,
"param02", "Text2" , 2 , !This is visible but not selectable
"param03" , "Text3" , 3
END IF
END IF

1 - 10 (17)