Normal Topic Spell Check (Read 4712 times)
Andy
Member
*
Offline



Posts: 39
Location: Massachusetts
Joined: Aug 26th, 2014
Spell Check
Aug 28th, 2014 at 2:20pm
Print Post Print Post  
I am new to the forum!
Is there a procedure to use spell checking with a command button on a particular element?
  
Back to top
 
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: Spell Check
Reply #1 - Aug 29th, 2014 at 1:47pm
Print Post Print Post  
Hi Andy,

Welcome to the forum. Glad to have you here.

I am not sure I understand what you are attempting to do, are you only looking to check spelling in a particular element when a command button is pressed to do a task or are you looking for a command button that is created to specifically check the spelling in that 1 element or?

I am sure if you give more specifics, that someone on this forum will have some thoughts on the subject.

Thanks
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
Andy
Member
*
Offline



Posts: 39
Location: Massachusetts
Joined: Aug 26th, 2014
Re: Spell Check
Reply #2 - Aug 29th, 2014 at 4:59pm
Print Post Print Post  
Thanks for the response.
I am looking  to check spelling in a particular element when a command button is pressed (I created the button). Hopefully the code in the command button should be able to mimic the @SelectTreeItem("Search Update Menu!Edit Commands!Spell Checker")

I hope this is clear. Thank you
  
Back to top
 
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: Spell Check
Reply #3 - Aug 29th, 2014 at 6:37pm
Print Post Print Post  
Andy,

I did a quick search of this forum and found what I think is a question similar to yours, unfortunately the answer is probably not what you wanted to see.

Look at this link and see if it answers your question. 

http://lantica.com/Forum4/cgi-bin/yabb2/YaBB.pl?num=1335296595/1#1
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
Andy
Member
*
Offline



Posts: 39
Location: Massachusetts
Joined: Aug 26th, 2014
Re: Spell Check
Reply #4 - Aug 29th, 2014 at 6:51pm
Print Post Print Post  
If I could at least have easier access to the spell check button on the left side of the screen that would be very helpful.
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Spell Check
Reply #5 - Aug 29th, 2014 at 9:14pm
Print Post Print Post  
Andy wrote on Aug 29th, 2014 at 6:51pm:
If I could at least have easier access to the spell check button on the left side of the screen that would be very helpful.


Is the difficulty because the button is scrolled or because you are running with the left hand panel closed?
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Andy
Member
*
Offline



Posts: 39
Location: Massachusetts
Joined: Aug 26th, 2014
Re: Spell Check
Reply #6 - Sep 4th, 2014 at 1:26pm
Print Post Print Post  
It is difficult (inconvenient) because we would need to scroll down to the spell checker.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Spell Check
Reply #7 - Sep 5th, 2014 at 2:51pm
Print Post Print Post  
Hi Andy,

You can accomplish this with a flag in GLOBAL CODE.

In GLOBAL CODE:
Code
Select All
stat sSpell as Int

	sSpell = 0
 



In the On Element Entry event for your command button that you click to spellcheck the desired field:
Code
Select All
	sSpell = 1
	ThrowFocus(YourLEName)
 



In the On Element Entry event for your LE being spellchecked:
Code
Select All
var vTemp as Int

	If sSpell = 1
	{
		sSpell = 0
		If @Mode() = 0
		{
			vTemp = @SelectTreeItem("Add Data Menu!Edit Commands!Spell Checker")
		}
		Else
		{
			vTemp = @SelectTreeItem("Search Update Menu!Edit Commands!Spell Checker")
		}
	}
 

  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Andy
Member
*
Offline



Posts: 39
Location: Massachusetts
Joined: Aug 26th, 2014
Re: Spell Check
Reply #8 - Dec 3rd, 2014 at 7:58pm
Print Post Print Post  
Hammer:
I have not been on the forum recently but this routine for the spell checker works great...thank you very much.
  
Back to top
 
IP Logged