|
|
pinEdit WP
Started by JDL at 08-06-2008 7:59 . Topic has 3 replies.
 
 
|
|
Sort Posts:
|
|
|
|
08-06-2008, 7:59
|
JDL
Joined on 08-06-2008
Posts 0
|
|
|
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?
|
|
|
|
|
Report
|
|
|
|
08-07-2008, 8:58
|
Pintexx Support
Joined on 08-30-2005
Posts 1.549
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
10-07-2008, 9:14
|
JDL
Joined on 08-06-2008
Posts 0
|
|
|
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")");
|
|
|
|
|
Report
|
|
|
|
10-08-2008, 8:46
|
Pintexx Support
Joined on 08-30-2005
Posts 1.549
|
|
|
Hello,
I'm sorry to say that this is currently not possible.
Maybe in next version.
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
|
Pintexx Forum » Developer Produ... » pinEdit WP » Re: Evaluation Question
|
|
|
|