on 06-25-2008 2:32 AM
Hi,
Is it possible to call the get and set width and height methods for the TextField element in the interactive form?
Regards,
William
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.