Foro de Soporte Allplan

[Pregunta] 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

Adjuntos (1)

Type: image/png
Descargado 86 veces
Size: 1,43 KiB
11 - 17 (17)

In Windows generally the Combobox do not allow a not selectable item!

Why should you also display an entry if you can't select it!

This does not lead to a good solution!

Cita de: Nemo
In Windows generally the Combobox do not allow a not selectable item!
Why should you also display an entry if you can't select it!
This does not lead to a good solution!

Ok Nemo, I have understand! Thank you.

Hello,

Same answer as Nemo!


Cita de: 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 Nemo, it is possible to modify, and how, so that only text appears on I_INFIELD_3

Adjuntos (1)

Type: image/png
Descargado 40 veces
Size: 92,18 KiB

Hello Danilos,

Create a small, fully transparent image, name it "transp" and add it to the SmartPart resources.
Then write the function as in the attached image.


Adjuntos (1)

Type: image/png
Descargado 10 veces
Size: 2,70 KiB

Hi Danilos,

if you don't need an image, then use the I_INFIELD together with VALUES_E.
You can see it in my last Example for TUBE-Question.

VALUES_E expects the parameter followed by pairs of value and description text separated with commas. The description text is shown in the combobox, and the value ist assigned to the parameter, if you select the combobox item.

Adjuntos (3)

Type: image/png
Descargado 43 veces
Size: 25,29 KiB
Type: image/png
Descargado 39 veces
Size: 82,81 KiB
Type: text/xml
Descargado 318 veces
Size: 52,49 KiB

Cita de: Nemo
Hi Danilos,
if you don't need an image, then use the I_INFIELD together with VALUES_E.

You can see it in my last Example for TUBE-Question.
VALUES_E expects the parameter followed by pairs of value and description text separated with commas. The description text is shown in the combobox, and the value ist assigned to the parameter, if you select the combobox item.


Ok Nemo, thank you for precisation!. Goodbye.
11 - 17 (17)