Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Full Justificstion with RichTextBox like Ms Word

Status
Not open for further replies.

light78

Programmer
Jan 8, 2003
4
TR
Hi, how can i make full justification with RichtextBox or Normal Textbox?
i Can do alignment - left, - right or - centered, but what about full justification for editing and printing, and most important is editing for me...

Thank u so much.
 
The rich edit control (version 3.0 and later) supports full justification. However, the version of this control exposed as Vb's RichTextBox is the somewhat more limited version 1.0, which doesn't.
 
First, thx for your reply ,I'm using Rich edit control with version 3.00 and it doesn't supply this property.

What can I do, now?
 
You are using the Rich Edit control directly? Rather than the RichTextBox control?
 
Sorry, I only added a RichTextBox Control 6.0 and its property doesn't have full justification, i use it on a form for editing infos, and the same in activereports for printing.

On Screen and Reports it's a very bad scene if a align it right, i only want to use MS Word justification both left and right

i don't know what i must do,PLEEEASE HELP???
 
Ok, I'll repeat what I said before: VB's RichTextBox control ONLY implements the Rich Edit control 1.0 EVEN if you have RICHED20.DLL or later installed on your machine, and this does NOT support full justification.

So you would either need to write your own wrapper for the Rich Edit control 3.0 or later (not particularly straightforward), or search out one of the many enhanced Rich text controls available on the web.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top