Differences between I_INFIELD, I_INFIELD_2 and I_INFIELD_3


Good morning,

I have done several tests, and always with the same result. What are the differences between I_INFIELD, I_INFIELD_2 and I_INFIELD_3?

Thanks a lot!
Xavi

Xavier Coll • Architect, Project Manager I+D, BIM Manager, BIM Auditor
EiPM • http://www.eipm.es/en/

Hi Xavi,

two main differences exist:
1. With I_INFIELD_2 and I_INFIELD_3 you can input also Array values
------------------------------------------------------------------------
instead
I_INFIELD "test" , x,y,width,height (don't work properly, if "test" is an array!!)
you can write
I_INFIELD test[2][4], x,y,width,height, ...

2. With the "method" you can create special input controls
-------------------------------------------------------------
I_INFIELD_3 "name", x, y, width, height [,
method, picture_name,
images_number,
rows_number, cell_x, cell_y,
image_x, image_y,
expression_image1, text1,
...,
expression_imagen, textn, alignment]
[I_TOOLTIP tooltiptext]

see special_controls.png

Regards
Jörg

Adjuntos (1)

Type: image/png
Descargado 465 veces
Size: 10,61 KiB

Thanks Jörg, is really interesting: the interface is really more visual and direct :-)

I'm trying to code the interface of the image that I post in this message, but I must admit that I'm not doing well. Mmmm.. is possible to view a sample of code script like my image?

Thanks a lot Jörg,
Xavi

Xavier Coll • Architect, Project Manager I+D, BIM Manager, BIM Auditor
EiPM • http://www.eipm.es/en/

Adjuntos (1)

Type: image/png
Descargado 441 veces
Size: 2,58 KiB

Hi Xavi,

for a Picture-Radio-Button-Strip you need somthing like this:
Parameter-Script:
--------------------------------
VALUES "sd" 1,2,3

Dialog-Script
----------------------------------
I_INFIELD_3 "sd" , columnsize , row * rowsize , controlwidth , 22 ,
4 , "" , 2 , 1 ,
20 , 20 , 20 , 20 ,
"param01" , `1` , 1 ,
"param02" , `2` , 2 ,
"param03" , `3` , 3
--------------------------------------------------
4 -> method for Picture-Radio-Button
param01...param03 -> Resource-Images on the buttons
`1`...`3` -> Description Text (only shown in Combo-Box)
1..3 assigned values , if this button is pushed

If you replace 4 at "method" with 1...7, you can test the other special controls

See the enclosed smt!

Regards.

Jörg

Adjuntos (2)

Type: application/octet-stream
Descargado 1589 veces
Size: 11,87 KiB
Type: image/png
Descargado 414 veces
Size: 6,81 KiB

I've been testing it, and it works perfect for what I need it :-)

Thanks Jörg!
regards,
Xavi

Xavier Coll • Architect, Project Manager I+D, BIM Manager, BIM Auditor
EiPM • http://www.eipm.es/en/


https://campus.allplan.com/ utiliza cookies  -  Aqui

Acéptalo