Allplan Fórum

[Otázka] 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

Přílohy (1)

Type: image/png
Staženo 81
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!

Citoval 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!


Citoval 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

Přílohy (1)

Type: image/png
Staženo 32
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.


Přílohy (1)

Type: image/png
Staženo 8
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.

Přílohy (3)

Type: image/png
Staženo 30
Size: 25,29 KiB
Type: image/png
Staženo 23
Size: 82,81 KiB
Type: text/xml
Staženo 147
Size: 52,49 KiB

Citoval 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/ používá cookies  -  Více informací

Souhlasím