[Вопрос] 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

Вложения (1)

Type: image/png
Загружено 86 раз
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!

Цитируется из: 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!


Цитируется из: 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

Вложения (1)

Type: image/png
Загружено 40 раз
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.


Вложения (1)

Type: image/png
Загружено 10 раз
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.

Вложения (3)

Type: image/png
Загружено 43 раз
Size: 25,29 KiB
Type: image/png
Загружено 39 раз
Size: 82,81 KiB
Type: text/xml
Загружено 277 раз
Size: 52,49 KiB

Цитируется из: 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)