473,692 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No Full Justification With Access 2007 Rich Text Property?

Just found out that the Microsoft Rich Textbox does not support full text
justification, since it's based on Version 1.0 of the RichEdit Window Class,
and full text justification is only available in versions 3.0 or later of
the class.

However, also just found out that the new Rich Text property in Access 2007
ALSO does not support full text justification! This seems incredible, that
MS would create a brand new application, and not provide rich text full text
justification, when that's been around since version 3.0 of the RichEdit
Window Class. Just seems incredible.

So, while I was thinking about upgrading to Access 2007 in part to be able
to use the built-in Rich Text property, now I don't know if that would work
for me, since I absolutely need full text justification. (Documents I'm
creating through rich text have to have justified paragraphs.)

So, two questions:

1) Am I mistaken about Access 2007? It really doesn't support full text
justification in rich text controls? That seems incredible.

2) What other options are there, if one has to have full justification with
a rich textbox?

Thanks!!

Neil
Jun 13 '07 #1
4 5469
Neil wrote:
Just found out that the Microsoft Rich Textbox does not support full
text justification, since it's based on Version 1.0 of the RichEdit
Window Class, and full text justification is only available in
versions 3.0 or later of the class.

However, also just found out that the new Rich Text property in
Access 2007 ALSO does not support full text justification! This seems
incredible, that MS would create a brand new application, and not
provide rich text full text justification, when that's been around
since version 3.0 of the RichEdit Window Class. Just seems incredible.

So, while I was thinking about upgrading to Access 2007 in part to be
able to use the built-in Rich Text property, now I don't know if that
would work for me, since I absolutely need full text justification.
(Documents I'm creating through rich text have to have justified
paragraphs.)
So, two questions:

1) Am I mistaken about Access 2007? It really doesn't support full
text justification in rich text controls? That seems incredible.

2) What other options are there, if one has to have full
justification with a rich textbox?

Thanks!!

Neil
While I don't know the specific answers you are looking for some enlightenment
might come from the knowledge that Access 2007's "Rich Text" is actually HTML
and not RT at all.

On the surface I see no reason why that shouldn't allow it to support full
justification though since HTML (in web pages) does.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Jun 13 '07 #2
Well, the first reason I concluded that it doesn't support full
justification is because the toolbar that's available when you're in a rich
text textbox in Access 2007 has buttons for left justification, right
justification, and center justification -- but no button for full
justification. Same with the ribbon that pops up when you select text in a
rich text textbox.

Figuring that maybe they just left that out because it wasn't commonly used,
I went into the code module to see what properties were available. To my
dismay, I didn't even see any properties for setting formatted text in a
rich text textbox. So I went to online help, went to MSDN, went to a lot of
places, and didn't see anything about being able to set rich text
programmaticall y in Access 2007.

So I'm left thinking that that's not possible; that it's just a user
control, but it can't be manipulated in code. That would be very
unfortunate.

Now, I haven't used Access 2007. I've only played with it a couple of times.
So I could be totally wrong. There might be a way to manipulate a rich text
textbox in Access 2007. But I don't see it.

So I'm left with no full justification button from the user's side. And no
(apparent) properties for setting justification (or any other rich text
settings) on the code side. Doesn't look very good so far.

HTML is fine, as long as it can save to a doc that can be read by Word. But
I need full justification (and the ability to manipulate the control in
code).

Thanks,

Neil
"Rick Brandt" <ri*********@ho tmail.comwrote in message
news:V2******** *********@newss vr22.news.prodi gy.net...
Neil wrote:
>Just found out that the Microsoft Rich Textbox does not support full
text justification, since it's based on Version 1.0 of the RichEdit
Window Class, and full text justification is only available in
versions 3.0 or later of the class.

However, also just found out that the new Rich Text property in
Access 2007 ALSO does not support full text justification! This seems
incredible, that MS would create a brand new application, and not
provide rich text full text justification, when that's been around
since version 3.0 of the RichEdit Window Class. Just seems incredible.

So, while I was thinking about upgrading to Access 2007 in part to be
able to use the built-in Rich Text property, now I don't know if that
would work for me, since I absolutely need full text justification.
(Documents I'm creating through rich text have to have justified
paragraphs.)
So, two questions:

1) Am I mistaken about Access 2007? It really doesn't support full
text justification in rich text controls? That seems incredible.

2) What other options are there, if one has to have full
justificatio n with a rich textbox?

Thanks!!

Neil

While I don't know the specific answers you are looking for some
enlightenment might come from the knowledge that Access 2007's "Rich Text"
is actually HTML and not RT at all.

On the surface I see no reason why that shouldn't allow it to support full
justification though since HTML (in web pages) does.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Jun 13 '07 #3
On Jun 13, 4:59 am, "Neil" <nos...@nospam. netwrote:
Just found out that the Microsoft Rich Textbox does not support full text
justification, since it's based on Version 1.0 of the RichEdit Window Class,
and full text justification is only available in versions 3.0 or later of
the class.

However, also just found out that the new Rich Text property inAccess2007
ALSO does not support full text justification! This seems incredible, that
MS would create a brand new application, and not provide rich text full text
justification, when that's been around since version 3.0 of the RichEdit
Window Class. Just seems incredible.

So, while I was thinking about upgrading toAccess2007 in part to be able
to use the built-in Rich Text property, now I don't know if that would work
for me, since I absolutely need full text justification. (Documents I'm
creating through rich text have to have justified paragraphs.)

So, two questions:

1) Am I mistaken aboutAccess2007 ? It really doesn't support full text
justification in rich text controls? That seems incredible.

2) What other options are there, if one has to have full justification with
a rich textbox?

Thanks!!

Neil
How about this:
1. Set the font to a fixed-width type (Lucida Sans Typewriter, Courier
New, etc.)
2. Make a function that strategically inserts spaces and vbCrLf for
your full justification needs. Arguments would be the text and maximum
character width and return value is the converted text (string).
3. Call that function when needed (OnCurrent and AfterUpdate of
textbox).
4. Might need an unbound textbox to hold resulting text.
Kinda crude but can be done and would give you control via code.
David

Jun 13 '07 #4
Well, thanks for the idea. But the text has to be Times Roman.

But, even if I used a fixed-width font, I'm not sure your idea would work.
In order to make the lines justified, I would more than likely have to add a
fraction of a space between words. If, say, there were 5 spaces left at the
end of the line and 8 spaces between words, I'd have to add 5/8 of a space
between each word. Don't think that can be done.

Thanks for the thought, though!

Neil
"david12" <da*********@ya hoo.comwrote in message
news:11******** *************@d 30g2000prg.goog legroups.com...
On Jun 13, 4:59 am, "Neil" <nos...@nospam. netwrote:
>Just found out that the Microsoft Rich Textbox does not support full text
justificatio n, since it's based on Version 1.0 of the RichEdit Window
Class,
and full text justification is only available in versions 3.0 or later of
the class.

However, also just found out that the new Rich Text property inAccess2007
ALSO does not support full text justification! This seems incredible,
that
MS would create a brand new application, and not provide rich text full
text
justificatio n, when that's been around since version 3.0 of the RichEdit
Window Class. Just seems incredible.

So, while I was thinking about upgrading toAccess2007 in part to be able
to use the built-in Rich Text property, now I don't know if that would
work
for me, since I absolutely need full text justification. (Documents I'm
creating through rich text have to have justified paragraphs.)

So, two questions:

1) Am I mistaken aboutAccess2007 ? It really doesn't support full text
justificatio n in rich text controls? That seems incredible.

2) What other options are there, if one has to have full justification
with
a rich textbox?

Thanks!!

Neil

How about this:
1. Set the font to a fixed-width type (Lucida Sans Typewriter, Courier
New, etc.)
2. Make a function that strategically inserts spaces and vbCrLf for
your full justification needs. Arguments would be the text and maximum
character width and return value is the converted text (string).
3. Call that function when needed (OnCurrent and AfterUpdate of
textbox).
4. Might need an unbound textbox to hold resulting text.
Kinda crude but can be done and would give you control via code.
David

Jun 13 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3103
by: Alex | last post by:
The JustiDirect text justification on Stephen LeBans site works well but I cannot get it to work on a sub report. Could anyone tell me if this is possible. Thanks. Alex
5
3889
by: Ira Solomon | last post by:
Hi: Any quick opinions on Access 2007? Has anyone got this to coexist with Access 2003? Thanks Ira
49
4342
by: Allen Browne | last post by:
If you are looking for opinon on what's useful in Access 2007, there's a new article at: http://allenbrowne.com/Access2007.html Covers what's good (useful features), what's mixed (good and bad), what's gone (features removed), what's fixed (old issues solved), what's broken (new bugs), configuration, compatibility, should you buy, and links. It is opinion, so you may disagree, but hopefully it's an informative summary.
2
1923
by: bobdydd | last post by:
Hi All In the plan text version of a Memo field you can easily add a date by pressing Ctrl+Colon which makes life easy for the end user. However, if the Memo field is set to the Rich Text Property this no longer works. Or am I missing something? Bob
9
8291
by: Neil | last post by:
I need to implement a rich text box in an MDB file for a user base that consists of Access 2000 and Access 2002. Unfortunately, I'm using Access 2003 on my development machine. My understanding is that because of security issues, the Microsoft Rich Textbox Control doesn't work in Access 2003. Thus, I'm left with 3 options: 1) Downgrade my development machine to Access 2002 (if I could even find a copy somewhere). 2) Upgrade all...
5
5351
by: ARC | last post by:
Just found out something interesting with Access 2007... In table design, if you set a memo field to the new rich text option, and put that control on a form, set the control to rich text, you can only use the text formatting menus IF the control is on a parent form! If the control is placed on a form that is a subform, the mini format toolbar, and the access toolbar will not work! However, if you place the control on a self-contained...
16
11085
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might know one way or the other whether that was true or not, or could point me to an article or help text that would. What I have seen so far online and in Access 2007 help seems to confirm the above. But that (or at least (b)) seems incredible that it...
0
1934
by: Wieland | last post by:
I have a rich text box that I'm using to edit rtf documents that need to be full justified the SelectionAlignment only has right, left and center. Does any one know how to get full justification using VB?
0
8610
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9090
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8968
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5822
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4327
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4562
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2978
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1961
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.