I would disable the button if the 4D Write Pro is not in focus..
On Sat, Feb 17, 2018 at 2:43 AM, Pat Bensky via 4D_Tech < [email protected]> wrote: > How do I make an object on a form the focus object programmatically? > I have a *Check Spelling* button which runs the spelling checker on a Write > Pro area. But if another field has the focus, it doesn't work. So I can > check which object has the focus and if it isn't the Write Pro area, how do > I make it become the focus object? Just going to the object with *GOTO > OBJECT *doesn't work. > > -- > ************************************************* > CatBase - Top Dog in Data Publishing > tel: +44 (0) 207 118 7889 > w: http://www.catbase.com > skype: pat.bensky > ************************************************* > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "There must be ingenuity as well as intention, strategy as well as strength. " ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

