cancel
Showing results for 
Search instead for 
Did you mean: 

Interactive Form Element

Former Member
0 Kudos

Hi,

Is it possible to call the get and set width and height methods for the TextField element in the interactive form?

Regards,

William

Accepted Solutions (1)

Accepted Solutions (1)

vaibhav_tiwari
Contributor
0 Kudos

Hi,

Its possible using Java script in the form. Follwing are the functionalities which are possible to set the height, width of a Textfield UI Element.

Size and Position

X

x property

TextField1.x = "measurement"

Y

y property

TextField1.y = "measurement"

Width

w property

TextField1.w = "measurement"

Height

h property

TextField1.h = "measurement"

Width Expand to fit

minW property

TextField1.minW = "measurement"

Height Expand to fit

minH property

TextField1.minH = "measurement"

Anchor

anchorType property

TextField1.anchorType = "position"

To get Hight, length, width use:

To get X layout:

TextField1.rawValue = TextField1.x;

To get Y layout:

TextField1.rawValue = TextField1.y;

To get width:

TextField1.rawValue = TextField1.w;

To get Height :

TextField1.rawValue = TextField1.h;

In the above codes width, height, x and y layout values will be assigned to TextField1.

Hope it will solve your Problem.

Regards,

Vaibhav Tiwari.

Answers (0)