How to set tabs in TextArea ?

Hi,

I may have a bad memory, but I recall it was possible to set tabs in TextArea.

Google:
site:documentation.xojo.com tabulation

returns nothing.

Manual search goes similar.

Is it possible (if so, how) or am I dreaming ?

Regards

Try: http://www.bkeeney.com/formatted-text-control/

The FTC supports left bound tab stops only. Tabs are internally divided into two parts. The first part is the tab stop which acts like a framework where tabs are placed and the second part are the actual tabs which the user types.

Oh, yes, one can replace a Chr(9) with a bunch of spaces…

Pauper’s tab !

And, just like in a word processor, using spaces cannot works with a non proportional font / any time, any where…

I tested that right now and I do not get a true tab function (vertically, this is not tab !).

How can select all text areya

http://documentation.xojo.com/index.php/TextEdit.Text

to get all text from a TextArea

http://documentation.xojo.com/index.php/TextEdit.SelText

to select whatever text you want:
TextArea1.selstart=0
TextArea1.SelLength= Len(TextArea1.Text)

select all current text

But this is not an answer to my original question ;-:slight_smile:

if you want ALL the text in a TextArea just

s=textarea1.text

no need to set SelStart/Length etc.
Only need to do that when you want specific text, or are setting or getting style information

Dave,

can you read carefully my previous post before giving your own reply ?

Rude responses like this are what make people not care to respond at all… which will be the downfall of this forum.

I have not yet been able to put my finger on it… but since the release of XOJO , the attidutes, demeanors and responses in THIS forum have been must less hospitable than anything I ever saw on the RealStudio Forum (and I made over 5000 postings there)

Rude responses
Yours ?

I wrote:

to get all text from a TextArea
http://documentation.xojo.com/index.php/TextEdit.SelText

you wrote:
if you want ALL the text in a TextArea just
s=textarea1.text

no need to set SelStart/Length etc.

And I give rude responses ?