Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 31 MAR 2021 03:26:00AM Roberto Righini wrote:

Hi, i need to ave a multiline box. First I tried O4WTextBox, but I only have a line. O4WTextArea can be my solution, but I don't find the way to lock the dimension. With the mouse the user can change the dimension of the box, and all the other components are moving. There is a way to fix at least an horizontal size?


disabledStyle   = O4WINPUTOPTIONS( "0", "0", "0" )

styleAlignLeft  = O4WAlignStyle("", 0, "")

sizeStyle       = O4WSizeStyle("", 240, 40)

O4WtextArea('',40,3,1,'NOTES_BOX','NOTES_BOX',disabledStyle:sizeStyle:styleAlignLeft)

thx for any idea

Roberto


At 31 MAR 2021 07:20AM bshumsky wrote:

Hi, i need to ave a multiline box. First I tried O4WTextBox, but I only have a line. O4WTextArea can be my solution, but I don't find the way to lock the dimension. With the mouse the user can change the dimension of the box, and all the other components are moving. There is a way to fix at least an horizontal size?


disabledStyle   = O4WINPUTOPTIONS( "0", "0", "0" )

styleAlignLeft  = O4WAlignStyle("", 0, "")

sizeStyle       = O4WSizeStyle("", 240, 40)

O4WtextArea('',40,3,1,'NOTES_BOX','NOTES_BOX',disabledStyle:sizeStyle:styleAlignLeft)

thx for any idea

Roberto

Hi, Roberto. Unfortunately, although you can specify the initial size, modern browsers allow the user to "stretch" and resize the textarea dynamically to suit their own needs. There is no way (that I know of) to prevent that behavior.

- Bryan Shumsky

Revelation Software, Inc.


At 31 MAR 2021 07:47AM Roberto Righini wrote:

Ok, thx. I will try with O4WFixedText and manually adding @vm as line wrap.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/912412f55c03a24d91e6fdc96f108239.txt
  • Last modified: 2024/01/04 20:57
  • by 127.0.0.1