|
Post by donaldbowers on Jan 10, 2016 16:12:24 GMT -5
I would be purchase a license for RB today if I knew how to do the following: - Send and receive text in a textarea that has word wrap
- Sort file names alphabetically
I also would like to be able to run more than one website, though I'm sure I could find a work-around for that by keeping my current web hosting and keeping my landing pages there. The RunBASIC 'textarea' command doesn't give me word wrapping which is critical. To me having this option is one of the most important things in deciding whether or not to actually use the product online (and purchase the license). I really love the idea of RunBASIC. But, I don't want to go through the learning curve of setting up my own server to publish a site that doesn't have the word wrap function. I've built an app in PHP that is the basic skeleton of what I want to do, but if I could do it in RunBASIC it would save me a great deal of work, research and testing in the future as I'm more familiar with the BASIC language than I am with PHP. Basically what I want to do is to create a sort of text editor where users can post and edit information about various topics. Some of these text editors would resemble an actual text editor (like notepad) and others would be used for sharing links and other things like that. Eventually I'd like to use his same concept to create simple forums where my users could have discussions and or comment on articles. All of these things (IMO) require a word wrapping textarea.
|
|
|
Post by meerkat on Jan 11, 2016 7:17:07 GMT -5
Try the following: WordWrap$ = "style='white-space: pre-wrap;";_ "white-space: -moz-pre-wrap;";_ "white-space: -pre-wrap;";_ "white-space: -o-pre-wrap;";_ "word-wrap: break-word'" html "<textarea id=ta ";WordWrap$;" ></textarea>" wait
Hope this helps. There are some examples here that may help you.. rosettacode.org/wiki/Category:Run_BASICGoto
|
|
|
Post by meerkat on Jan 14, 2016 7:53:00 GMT -5
BTW there is a forum system written in Run Basic I did years ago. Not sure what kind of shape it's in, but give it a try. Docs and download here RUN BASIC FORUMHope this helps
|
|
|
Post by donnybowers on Aug 30, 2020 23:17:30 GMT -5
BTW there is a forum system written in Run Basic I did years ago. Not sure what kind of shape it's in, but give it a try. Docs and download here RUN BASIC FORUMHope this helps That's really cool. It doesn't solve my problem because the textarea doesn't do wordwrap, at least not in the free personal version of RB. I have a feeling this will only be solved by RunBASIC 2. You've got some really cool RunBASIC programs. I particularly like "slideShow". The forum app is cool too. I will probably be going through your code to see what I can learn from it. Thanks meerkat!
|
|