Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.

pinEdit Add-On

Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.


fletchpenn 04-17-2009, 5:15
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

Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.


fletchpenn 04-17-2009, 6:48
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

Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.


Pintexx Support 04-20-2009, 8:32
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

Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.


fletchpenn 04-22-2009, 9:30
Hi, yes i have that line in there. But it is not working.

Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.


fletchpenn 04-22-2009, 10:18
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,

Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.


Pintexx Support 04-23-2009, 8:46
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

Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.


fletchpenn 04-24-2009, 5:04
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

Re: Spell Check stops working if ToolbarXMLPath or ToolbarXMLString is used.


Pintexx Support 04-27-2009, 8:31
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