O4WTextArea (OpenInsight 64-bit)
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
At 31 MAR 2021 07:47AM Roberto Righini wrote:
Ok, thx. I will try with O4WFixedText and manually adding @vm as line wrap.