Support Forum

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

Attachments (1)

Type: image/png
Downloaded 81 times
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!

Quote by 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!


Quote by 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

Attachments (1)

Type: image/png
Downloaded 32 times
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.


Attachments (1)

Type: image/png
Downloaded 8 times
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.

Attachments (3)

Type: image/png
Downloaded 30 times
Size: 25,29 KiB
Type: image/png
Downloaded 23 times
Size: 82,81 KiB
Type: text/xml
Downloaded 147 times
Size: 52,49 KiB

Quote by 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)

https://connect.allplan.com/ uses cookies  -  More information

Accept