Page 1 of 1

Posted: 20 May 2009, 11:47
by Gizzeta
Hi,

How can I create an input like in the A*B module?
I'm saying an input without prefixed limits and if there's no cable connected I can double ckick on the module and type a number in.
I tried with a DataField type with ReadOnly false, but the number is not stored in the field.

Thanks

Posted: 23 May 2009, 22:31
by senso
sorry to answer so lately, I was on the road
you can set
ParameterType = ptDataField.

also set

in the
<float.h>
they are several definitions
#define FLT_MAX 3.402823466e+38F /* max value */
#define FLT_MIN 1.175494351e-38F /* min positive value */

so you can set your parameter to

minValue = FLT_MIN
maxValue = FLT_MAX

Posted: 24 May 2009, 15:24
by Gizzeta
Nice, thanks,

the other problem is that I can't see the value stored in the module, I only see the caption of the DataField...