Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit Add-On

Started by fletchpenn at 04-17-2009 5:15 . Topic has 7 replies.

Print Search
Sort Posts:    
   04-17-2009, 5:15
fletchpenn is not online. Last active: 16.04.2009 04:45:49 fletchpenn

Top 100 Posts
Joined on 04-16-2009
Posts 8
Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.
Reply Quote
Hi, I have gotten the pinSpell chker to work within my app. But as soon as the ToolbarXMLPath or ToolbarXMLString are set the Spell Checker stops working.
Ex: ToolbarXMLPath = Application.StartupPath & "\toolbar_basic.xml"
Where toolbar_basic.xml is copy of toolbar.xml file.
Any ideas what i am doing wrong?
thanks
Fletch

   Report 
   04-17-2009, 6:48
fletchpenn is not online. Last active: 16.04.2009 04:45:49 fletchpenn

Top 100 Posts
Joined on 04-16-2009
Posts 8
Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.
Reply Quote
More info on the problem:
Using the following toolbar xml file, included with the pinEdit install Does allow pinSpell to work:
.ToolbarXMLPath = Application.StartupPath & "\editor\config\xml-toolbar\toolbar-desktop-style5.xml"

However, the other xml files included in the install DO NOT allow pinSpell to work:
toolbar-html.xml
toolbar-style5.xml
toolbar-wp.xml

So, something in these XML Files stop the Spell Checker. Any ideas?

Also, the Toolbar designer appears to put out a String vs an XML file. Any way to get it to output XML, while knowing Spell Cker will work?

Thanks,
Fletch

   Report 
   04-20-2009, 8:32
Pintexx Support is not online. Last active: 12.01.2012 07:36:39 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.910
Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.
Reply Quote
Hello,

please check if you xml toolbar file contains this line:

checkbutton image="spell.gif" tag="SPELL" callback="editSpell(button.pressed)" tooltipid="411"

The spell checker for .Net works a liitle bit different as the web versions therefore it needs different configuration.

Regards,
Hans-Peter

   Report 
   04-22-2009, 9:30
fletchpenn is not online. Last active: 16.04.2009 04:45:49 fletchpenn

Top 100 Posts
Joined on 04-16-2009
Posts 8
Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.
Reply Quote
Hi, yes i have that line in there. But it is not working.

   Report 
   04-22-2009, 10:18
fletchpenn is not online. Last active: 16.04.2009 04:45:49 fletchpenn

Top 100 Posts
Joined on 04-16-2009
Posts 8
Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.
Reply Quote
Please let me give u some more info. We were using version 6.0 w/o a spell cker.
The winform app used ToolbarXMLString = doc.InnerXml.ToString to control the toolbar dynamically and switching between a Basic Toolbar and a Advanced toolbar with 2 diff XML files.
I am running into several issues with the upgrade to 7.0 and adding pinSpell.
1. pinSpell is vy intermittent despite the use of the line u mentioned.

2. it says ToolbarXMLString (6) in the help. Isn't XML the preferred method in v7.0?

code samples:

With Me.editor
.ModeToolbar = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enToolbarConfiguration.XML
.TextMode = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enTextMode.HTML
.UserMode = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enUserMode.HTMLEditor

.Design = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enStyle.Style3
.Mode = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enMode.Edit

.Language = "EN"

.DictionaryPath = Application.StartupPath + "\editor\add-on\spell\us-english.dict"
.UserDictionaryPath = Application.StartupPath + "\editor\add-on\spell\user.txt"
.SpellDelay = 10

.EditSetDefaultFont("Arial", "10")
.EditSetFontSize("10")
End With



Thanks very much,
   Report 
   04-23-2009, 8:46
Pintexx Support is not online. Last active: 12.01.2012 07:36:39 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.910
Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.
Reply Quote
Hello,

does the spell checker run in evaluation sample ?

Do you use the "editor" folder and DLL from evaluation ?
Which version of pinEdit is displayed ?

Regards,
Hans-Peter
   Report 
   04-24-2009, 5:04
fletchpenn is not online. Last active: 16.04.2009 04:45:49 fletchpenn

Top 100 Posts
Joined on 04-16-2009
Posts 8
Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.
Reply Quote
Hi Hans-Peter,

Thanks u just gave me the hints i needed to fix the Spell Checker.
I had to get the pinSpell dll in the right place, and get just the right XML file loaded.

Is there any easier way to modify the Toolbar XML files other than manual editing?

Thanks very much.
Fletch

   Report 
   04-27-2009, 8:31
Pintexx Support is not online. Last active: 12.01.2012 07:36:39 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.910
Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.
Reply Quote
Hi Fletch,

the XML toolbar (which is recommended) can only be edited manually.

If you use the quick toolbar mode then you can use the toolbar designer.

Regards,
Hans-Peter
   Report 
Pintexx Forum » Developer Produ... » pinEdit Add-On » Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.