Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit WP

Started by JDL at 08-06-2008 7:59 . Topic has 3 replies.

Print Search
Sort Posts:    
   08-06-2008, 7:59
JDL is not online. Last active: 02.10.2008 15:12:42 JDL

Not Ranked
Joined on 08-06-2008
Posts 0
Evaluation Question
Reply Quote
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 is not online. Last active: 10.11.2008 07:36:58 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.549
Re: Evaluation Question
Reply Quote
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 is not online. Last active: 02.10.2008 15:12:42 JDL

Not Ranked
Joined on 08-06-2008
Posts 0
Re: Evaluation Question
Reply Quote
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 is not online. Last active: 10.11.2008 07:36:58 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.549
Re: Evaluation Question
Reply Quote
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