RTF Spell Checker

RTF Spell Checker

Postby TimStone » Mon May 22, 2023 3:44 pm

I wanted to revisit this because it never really was answered in the past.

With our included RTF control, we can turn on spell checking. It will underline words that are not spelled correctly. However, it does not have any way ( that I can find ) to get suggested correct spellings.

Usually in windows, when a word is mis-spelled, there are suggested correct words. I cannot get them to show, or select.

Is anyone using the full spell checking capability with the RTF control, and if so, how do you activate it ?

I am using the latest version of FWH.l
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: RTF Spell Checker

Postby Antonio Linares » Tue May 23, 2023 5:30 am

Dear Tim,

Have you tried to right click on the underlined words ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: RTF Spell Checker

Postby TimStone » Tue May 23, 2023 2:13 pm

Antonio Linares wrote:Dear Tim,

Have you tried to right click on the underlined words ?
I have tried every click combination. Single and double , right snd left


Sent from my iPhone using Tapatalk
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: RTF Spell Checker

Postby TimStone » Tue May 23, 2023 5:03 pm

The other feature I would really appreciate is for the ability to lock the button bar in place at the top of the edit box. In showing a client how to use this feature they found the need to mouse to the top to activate the bar, then perform an action, was very annoying. It is not common for a bar to disappear ( though it is an option, I know nobody who uses that ability in a word processing program ).
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: RTF Spell Checker

Postby TimStone » Tue May 23, 2023 7:44 pm

I've spent time experimenting, and researching, this.

1). If I open a text in the RTF5 editor, and then turn on spell checking, it will underline words, as they are typed, that are not spelled correctly.

2). If I try to setup the spell checker to be turned on by default, the checkmark shows on the ( right click ) menu, but it will not actually catch misspelled words.

It only works correctly when you turn it on once the control is activated.

Based on searches of the internet, it would appear that the control may only underline misspelled words, but not offer suggested alternatives.

Has anyone actually used this control and seen it display the properly spelled words ? Or am I simply the only one currently using RTF with Harbour/ FWH / MSVC ++ ???
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: RTF Spell Checker

Postby TimStone » Tue May 23, 2023 9:15 pm

From ChatOpenAI ... which I know many use. I just found out that its data is based on info available prior to 2021 ... and it doesn't know about Windows 11 or VS 2023.

FiveWin is a framework for developing Windows applications using the xBase programming language, which is primarily associated with dBase and Clipper. FiveWin includes its own implementation of an RTF (Rich Text Format) edit control, which is designed to provide text editing and formatting capabilities within FiveWin applications.

The RTF edit control in FiveWin allows users to input and edit text while supporting various text formatting options such as font styles, colors, sizes, alignments, and more. It provides a WYSIWYG (What You See Is What You Get) interface, allowing users to see the text with its applied formatting as they edit.

The features and capabilities of the RTF edit control in FiveWin may include:

Text editing: Users can enter, delete, and modify text within the control.
Text formatting: The control allows applying formatting options such as bold, italic, underline, strikethrough, subscript, and superscript to selected text or the entire document.
Font selection: Users can choose different fonts for their text.
Paragraph formatting: The control may support alignment options (left, right, center, justified), indentation, and line spacing settings.
Bulleted and numbered lists: Users can create bulleted or numbered lists within the control.
Copy, cut, and paste: Users can perform clipboard operations to copy, cut, and paste text within the control.
Undo and redo: The control may support undo and redo functionality to revert or restore changes made to the text.
Spell checking: While the specific implementation may vary, the RTF edit control in FiveWin might provide spell checking capabilities to assist users in identifying and correcting spelling errors.
Printing: The control may support printing the formatted text document.
It's important to note that the exact features and capabilities of the RTF edit control in FiveWin may depend on the specific version and configuration of the framework you are using. Therefore, it's recommended to refer to the official FiveWin documentation or resources provided by the framework's developers for more detailed information on how to use and customize the RTF edit control within your FiveWin applications.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: RTF Spell Checker

Postby cnavarro » Wed May 24, 2023 7:26 pm

TimStone wrote:The other feature I would really appreciate is for the ability to lock the button bar in place at the top of the edit box. In showing a client how to use this feature they found the need to mouse to the top to activate the bar, then perform an action, was very annoying. It is not common for a bar to disappear ( though it is an option, I know nobody who uses that ability in a word processing program ).


Implemented for the next version
Also, I would like to replace the current buttonbar with another one with a more modern style.
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: RTF Spell Checker

Postby TimStone » Wed May 24, 2023 9:10 pm

That sounds great.

Since we go many months between FWH updates, I would be happy to test the new implementation when you have it ready. I have a very nice implementation of RTF already in invoice printouts.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 107 guests