Re: Evaluation Question
pinEdit WP
Evaluation Question
JDL
08-06-2008, 7:59
I'm using Visual Studio 2005 and C# to evaluate the PinEdit control. I've added the editor to a form and the editor renders. Shouldn't I be able to manipulate the toolbar(s) and button(s) at runtime? I guess I'm looking for a toolbar control with a collection of controls to enable/disable, or change the tooltip based on context of what is being done in the application. Is this possible?
Re: Evaluation Question
Pintexx Support
08-07-2008, 8:58
Hello,
if you use XMLtoolbar feature you will see that each button (toolbar object) has a tag attribute.
You can use the method EditToolbarSetObjectEnabled(true/false,tag) to enable/disable toolbar objects.
Please use this method only when the editor has been fully loaded(in/after "ready" event)
Regards,
Hans-Peter
Re: Evaluation Question
JDL
10-07-2008, 9:14
In some cases I need to change the tooltip at runtime. Is there a method that I can call where I can set either the tooltipId or the tooltip?
something like:
EditorControl.Execute("editGetToolbar('TOP').getElementByTag('SPELL').setToolTip("Spell Check")");
EditorControl.Execute("editGetToolbar('TOP').getElementByTag('SPELL').setToolTipId("411")");
Re: Evaluation Question
Pintexx Support
10-08-2008, 8:46
Hello,
I'm sorry to say that this is currently not possible.
Maybe in next version.
Regards,
Hans-Peter