You are not logged in.

kechele

Beginner

  • "kechele" started this thread

Posts: 3

Date of registration: Oct 13th 2009

  • Send private message

1

Wednesday, March 24th 2010, 2:44pm

RichTextBox with wordwrap = false ?

Hello,

I want create a RichTextBox with HScrollBar is active when typing a very long line (no automatic word wrapping)

In Java I can do this with "this.textBox1.WordWrap = false;"
but I cannot find a command in Jabaco to do this.

Can you help me please? Thank you.

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Wednesday, March 24th 2010, 3:21pm

RichTextBox.parent is a JTextPane object. I've tried to influence wrapping via RichTextBox1.parent.setMaxSize(), but I haven't not succeeded yet.
Google is full of questions regarding JTextPane wrapping. Seems to be a hairy topic ....

Cheers

A1880

Rate this thread
WoltLab Burning Board