473,397 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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 5434
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
programmatically 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*********@hotmail.comwrote in message
news:V2*****************@newssvr22.news.prodigy.ne t...
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 #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*********@yahoo.comwrote in message
news:11*********************@d30g2000prg.googlegro ups.com...
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 #5

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

Similar topics

1
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
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
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),...
2
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...
9
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...
5
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...
16
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.