RE: spell check in v15

Subject :RE: spell check in v15
From :Timothy Penner
Date :Friday, August 26, 2016 at 1:21 PM
Link :https://kb.4d.com/resources/inug?msgid=GmailId156c84c6811ff6c5
Hi Chuck,



I noticed that right after hitting send on my earlier email, I am working up a bug report for it now:



-------------------------------------------------------------------------------------------------------



Using the SPELL CHECKING command in a form event for an object, with either On Losing Focus or On Data Change,

will trigger the spell checking dialog, but choosing to replace words from this dialog will not replace the misspelled words.





Systems this bug is reproducible with:

=============================

Windows 10 using

4D Mono 15.2+ builds 198931 & 203314

4D Mono 15R5 build 203346 (both 64 and 32 bit)

4D Mono MAIN build 203345 (both 64 and 32 bit)



Systems this bug is not reproducible with:

================================

Windows 10 using:

4D Mono 15.1 build 192845

4D Mono 15R4 build 200345 & 202220 (both 64 and 32 bit)



-------------------------------------------------------------------------------------------------------



What does work in all of the versions listed above is using a (non-focusable) button on the form that uses SPELL CHECKING in it's On Clicked event.



Kind Regards,



Tim PENNER







-----Original Message-----

From: 4D_Tech [mailto:4d_tech-bounces@xxx.xxx] On Behalf Of Charles Miller

Sent: Friday, August 26, 2016 12:13 PM

To: 4D iNug Technical

Subject: Re: spell check in v15



On Fri, Aug 26, 2016 at 2:05 PM, Timothy Penner wrote:



> Take a look at the following commands that may help you:

>

> SPELL CHECKING

> http://doc.4d.com/4Dv15R4/4D/15-R4/SPELL-CHECKING.301-2824711.en.html

>

> This can be used in a form object method like this (I put it behind a

> variable):

>

> Case of

> : (Form Event=On Losing Focus)

> SPELL CHECKING

> End case

>

> Then tabbing out of the variable triggers the spell check.

>

> SPELL CHECK TEXT

> http://doc.4d.com/4Dv15R4/4D/15-R4/SPELL-CHECK-TEXT.301-2824706.en.htm

> l

>

> This could be used programmatically instead of leaving it up to the user.

>



Hi Tim,



Unless I do not understand how this works (we are using 15.2), In on losing focus event, I tried



spell check The window comes up but no changes to data happen



I then tried spell check text (self->) Same result



Regards



Chuck





--

-----------------------------------------------------------------------------------------

Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064 Informed Solutions, Inc.

Brookline, MA 02446 USA Registered 4D Developer

Providers of 4D, Sybase & SQL Sever connectivity

http://www.informed-solutions.com

-----------------------------------------------------------------------------------------

This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication.

**********************************************************************

4D Internet Users Group (4D iNUG)

FAQ: http://lists.4d.com/faqnug.html

Archive: http://lists.4d.com/archives.html

Options: http://lists.4d.com/mailman/options/4d_tech

Unsub: mailto:4D_Tech-Unsubscribe@xxx.xxx

**********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-Unsubscribe@xxx.xxx
**********************************************************************

Subject :Re: spell check in v15
From :Charles Miller
Date :Friday, August 26, 2016 at 1:13 PM
Link :https://kb.4d.com/resources/inug?msgid=GmailId156c8456309acb53
On Fri, Aug 26, 2016 at 2:05 PM, Timothy Penner wrote:

> Take a look at the following commands that may help you:
>
> SPELL CHECKING
> http://doc.4d.com/4Dv15R4/4D/15-R4/SPELL-CHECKING.301-2824711.en.html
>
> This can be used in a form object method like this (I put it behind a
> variable):
>
> Case of
> : (Form Event=On Losing Focus)
> SPELL CHECKING
> End case
>
> Then tabbing out of the variable triggers the spell check.
>
> SPELL CHECK TEXT
> http://doc.4d.com/4Dv15R4/4D/15-R4/SPELL-CHECK-TEXT.301-2824706.en.html
>
> This could be used programmatically instead of leaving it up to the user.
>

Hi Tim,

Unless I do not understand how this works (we are using 15.2), In on losing
focus event, I tried

spell check The window comes up but no changes to data happen

I then tried spell check text (self->) Same result

Regards

Chuck


--
-----------------------------------------------------------------------------------------
Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
Informed Solutions, Inc.
Brookline, MA 02446 USA Registered 4D Developer
Providers of 4D, Sybase & SQL Sever connectivity
http://www.informed-solutions.com
-----------------------------------------------------------------------------------------
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law. These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited. Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-Unsubscribe@xxx.xxx
**********************************************************************

Subject :RE: spell check in v15
From :Timothy Penner
Date :Friday, August 26, 2016 at 12:53 PM
Link :https://kb.4d.com/resources/inug?msgid=GmailId156c8333dfee5f59
There is a setter for the object property, "auto-spellcheck":



OBJECT SET AUTO SPELLCHECK

http://doc.4d.com/4Dv15R4/4D/15-R4/OBJECT-SET-AUTO-SPELLCHECK.301-2825751.en.html



However the behavior of the auto-spellcheck changed in v14. The "auto-spellcheck" feature no longer displays a dialog but instead will constantly check the object and underline misspelled words in red, allowing the user to use the contextual menu to correct the words.



This new behavior is documented in the v14 Upgrade Manual on Pages 84-89: ftp://ftp-public.4d.fr/Documents/Products_Documentation/LastVersions/Line_14/VIntl/PDF_Format/4D_v14_Upgrade.pdf



-Tim



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-Unsubscribe@xxx.xxx
**********************************************************************

Subject :Re: spell check in v15
From :Chuck Miller
Date :Friday, August 26, 2016 at 12:41 PM
Link :https://kb.4d.com/resources/inug?msgid=GmailId156c82869f4545d9
Thanks that's got it I wish I did not have to write code for every object too bad there was not a setter for this
Regards
Chuck

Sent from my iPhone

> On Aug 26, 2016, at 2:05 PM, Timothy Penner wrote:
>
> Hi Chuck,
>
> Take a look at the following commands that may help you:
>
> SPELL CHECKING
> http://doc.4d.com/4Dv15R4/4D/15-R4/SPELL-CHECKING.301-2824711.en.html
>
> This can be used in a form object method like this (I put it behind a variable):
>
> Case of
> : (Form Event=On Losing Focus)
> SPELL CHECKING
> End case
>
> Then tabbing out of the variable triggers the spell check.
>
> SPELL CHECK TEXT
> http://doc.4d.com/4Dv15R4/4D/15-R4/SPELL-CHECK-TEXT.301-2824706.en.html
>
> This could be used programmatically instead of leaving it up to the user.
>
> Kind Regards,
>
> Tim PENNER
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ: http://lists.4d.com/faqnug.html
> Archive: http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:4D_Tech-Unsubscribe@xxx.xxx
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-Unsubscribe@xxx.xxx
**********************************************************************

Subject :RE: spell check in v15
From :Timothy Penner
Date :Friday, August 26, 2016 at 12:05 PM
Link :https://kb.4d.com/resources/inug?msgid=GmailId156c806e10ad652e
Hi Chuck,



Take a look at the following commands that may help you:



SPELL CHECKING

http://doc.4d.com/4Dv15R4/4D/15-R4/SPELL-CHECKING.301-2824711.en.html



This can be used in a form object method like this (I put it behind a variable):



Case of

: (Form Event=On Losing Focus)

SPELL CHECKING

End case



Then tabbing out of the variable triggers the spell check.



SPELL CHECK TEXT

http://doc.4d.com/4Dv15R4/4D/15-R4/SPELL-CHECK-TEXT.301-2824706.en.html



This could be used programmatically instead of leaving it up to the user.



Kind Regards,



Tim PENNER

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-Unsubscribe@xxx.xxx
**********************************************************************