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

Anhänge (1)

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

Anhänge (1)

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

Anhänge (2)

Typ: application/octet-stream
1796-mal heruntergeladen
Größe: 11,87 KiB
Typ: image/png
414-mal heruntergeladen
Größe: 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/