473,778 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Invoking spell check with Lebans RTF2 control v1.4

I am using Mr. Lebans' RTF2 Control v1.4. I have managed to spell
check its contents but it's a terrible kludge.

Here's how I do it:
1) Put a textbox on the same form as the RTF control and camouflage
it, don't hide it.
2) Trap the keyboard shortcut for spellcheck, usually F7
3) Copy the plain text contents of the RTF control to the textbox and
set focus
4) DoCmd.RunComman d acCmdSpelling on the textbox
5) Compare the contents of the two controls and update the RTF control
to reflect any changes.

It works, but it has limitations - mainly that the behavior doesn't
match what users would except when spell checking other controls. Has
anyone found a better method?
Nov 12 '05 #1
0 1534

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

Similar topics

1
2257
by: Bruce Rusk | last post by:
I've just started using Stephen Lebans' RTF2 control in a database, linked to a Memo field, and am finding it extremely useful (incidentally, in ACC2002 I'm using the class and withevents rather than the ACC97 backward-compatible module). I do have one question for Stephen or anyone else familiar with the control: what is the best way to set a default value for new entries? I am interested in doing so because I would like entries to...
6
3417
by: Bruce Rusk | last post by:
I'm using Stephen Lebans' RTF2 control in a report, and have discovered what may be a slight bug in it. I have a lot of non-Western language (Chinese) text in my RTF field, and such records get sized strangely using the .RTFHeight property of the control. Specifically, lines of text get cut off the bottom of the control when I use the code provided in the sample report on the lebans.com site. It seems that when there is Chinese text,...
1
3113
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
3
3309
by: Phil Stanton | last post by:
I am trying to produce a program that will output any Access report to an editable Word document. So far it is working well but slowly with text boxes, labels, and lines. I now need to try to output one of Stephen Lebans' RTF2 controls on the report. He indicates that a copy and paste method will work from a form to the Word doc and that is fine although I have not done this in VB, rather used ^C and ^V I suspect that a similar method...
6
2875
by: Sharper | last post by:
I have just downloaded lebans rtf2 which initially looks very interesting. Having a little trouble though in getting the RTF2 toolbar to appear on my own db although it is on the sample. I have imported the modules correctly (i think) and am able to create a RTF2 object from form design mode>active x , but cant find the toolbar. Secondly, is it possible to import text into an RTF2 memo field from say word or excel using GET EXTERNAL...
2
2589
by: tlyczko | last post by:
Hello, I'm experimenting with Stephen Lebans' Rich Text Control for doing RTF data entry into a memo field. I imported the table, form, toobar, and modules from the A2k version into an A2k3 DB. Then I edited a sample table record using the sample form provided, then closed Access. Then I could not re-open the MDB containing these items, nor any other
0
1144
by: Neil | last post by:
Does anyone know if it's possible to set a right tab stop in Stephen Lebans' RTF2 rich text control? If not, is it possible to access the Microsoft Text Object Model through the control and set a right tab stop that way? Thanks! Neil
0
1344
by: Arno R | last post by:
Hi all, I am using/testing the RTF2 Control from Steven Lebans (A2K RTF2 Sample Release 5-5) I would like to only *show* the contents of the control on some screens. So I would like to disable the possibility of editing the text, and I can't find a solution. Setting the control's property to enabled = False and/or locked = true does not work. Even putting the control in a subform and making the sub disabled does not work. Users can...
1
2449
by: Bob Alston | last post by:
Lebans RTF2 Active X control - How to load contents from DOC or RTF file at run time???? Bob
0
9629
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
10298
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
10127
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
9923
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8957
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
5500
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4033
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
2
3627
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2865
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.