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
81-mal heruntergeladen
Größe: 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!

Zitiert von: 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!


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

Anhänge (1)

Typ: image/png
32-mal heruntergeladen
Größe: 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.


Anhänge (1)

Typ: image/png
8-mal heruntergeladen
Größe: 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.

Anhänge (3)

Typ: image/png
30-mal heruntergeladen
Größe: 25,29 KiB
Typ: image/png
23-mal heruntergeladen
Größe: 82,81 KiB
Typ: text/xml
146-mal heruntergeladen
Größe: 52,49 KiB

Zitiert von: 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)

Verwendung von Cookies:
Um die Webseite optimal gestalten und fortlaufend verbessern zu können, verwendet Allplan Cookies.
Durch die weitere Nutzung der Webseite erklären Sie sich mit der Verwendung von Cookies einverstanden.  -  Mehr Informationen

Schließen