Text Word Wrapping inside an EditBox?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
peters
 
 
Posts: 65
Joined: Thu Sep 28, 2023 12:29 pm

Text Word Wrapping inside an EditBox?

Post by peters »

This may sound like a stupid question, but how do you get word wrapping inside a standard editbox to work?
I am use to C# and an editbox when used has word-wrapping as a default.
I am looking all over with keyword searches like "Word wrapping in EditBox", and I keep getting hits on how to word-wrap around objects like pictures in a webpage - lol
So I drop an editbox on and although I have it's height set to accommodate 3 lines of input and bound to a varchar(254) field, it does not word-wrap and just allows one straight line of input scrolling across the one line. I cannot seem to find any property to enable or disable word wrapping. What am I missing?

Many thanks in advance!

Pete,
User avatar
Pablo
 
Posts: 23614
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Text Word Wrapping inside an EditBox?

Post by Pablo »

A standard HTML editbox is for single line input only.
For multi-line input you should use a textarea.

Note that this is not specific to WWB, It's standard HTML functionality.
C# does not work the same as HTML.
alan_sh
 
 
Posts: 1902
Joined: Tue Jan 01, 2019 5:50 pm

Re: Text Word Wrapping inside an EditBox?

Post by alan_sh »

Put it into a flex grid. Seems to work for me.
peters
 
 
Posts: 65
Joined: Thu Sep 28, 2023 12:29 pm

Re: Text Word Wrapping inside an EditBox?

Post by peters »

Thank you both for your quick responses. I was trying to use a control that does not support word-wrapping within it. I told you it was a stupid question, but with my background in C# and C++ for me an Editbox comes with word-wrapping built in, that's why they call it and EditBox and not a TextBox - lol So here I need to use a TextArea or I can see what the flexgrid does as I am using both flexcontainers and flexgrids already in my projects.

Thanks again!
Post Reply