Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit

Started by smartin at 04-07-2006 7:04 . Topic has 18 replies.

Print Search
Sort Posts:    
   04-07-2006, 7:04
smartin is not online. Last active: 07.04.2006 15:17:47 smartin

Top 500 Posts
Joined on 04-07-2006
Posts 2
ToolbarUpdate Event
Reply Quote

Hi, I'm using pinEdit for WinForms (.Net 1.1), and using an external toolbar.

I would like to update the font/size/bold/etc. on the toolbar based on what is selected (or where the cursor is) in the control, but I can't seem to find an appropriate event.  The ToolbarUpdate event seems to be what I want, but it never fires!  I've tried different settings for ModeToolbar and other properties just to see if the event would fire, but still no luck.

How do I get the ToolbarUpdate event to fire?  Or, what's the best way to know when the user's selection has changed in the editor?

Thanks!


   Report 
   04-10-2006, 2:27
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: ToolbarUpdate Event
Reply Quote

Hi,

there was a problem in the event script.
Would you please replace the code in editor/config/config_event.js --> eventOnChangeToolbar function with this code:

function eventOnChangeToolbar(data)
{
 try {
    document.getElementById("__editData").value = data;
    RaiseControlEvent("TOOLBARUPDATE");
 } catch(Error) {}
}

Regards,
Hans-Peter

 


   Report 
   04-10-2006, 4:58
smartin is not online. Last active: 07.04.2006 15:17:47 smartin

Top 500 Posts
Joined on 04-07-2006
Posts 2
Re: ToolbarUpdate Event
Reply Quote
Thanks, that worked beautifully!
   Report 
   07-04-2006, 4:23
derdoe is not online. Last active: 04.07.2006 12:40:18 derdoe

Top 200 Posts
Joined on 07-04-2006
Posts 3
Re: ToolbarUpdate Event
Reply Quote
I have the same problem but I'm using pinEdit 5.0 for WinForms .NET 2.0. with an external Toolbar.
The file mentioned above isnt present here, so the fix won't work.

Thanks in advance!




   Report 
   07-04-2006, 5:15
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: ToolbarUpdate Event
Reply Quote

Hi,

we have verified your request again but it works for us.

The events name has changed to

EditorToolbarUpdate

Please check if you run the right DLL: now the name is pinEditNet.dll

Regards,
Hans-Peter


   Report 
   07-05-2006, 10:25
derdoe is not online. Last active: 04.07.2006 12:40:18 derdoe

Top 200 Posts
Joined on 07-04-2006
Posts 3
Re: ToolbarUpdate Event
Reply Quote
I set up a new project to be sure the problem isn't in my code and checked the DLL. It is pinEditNet.dll ver. 5.0.0.626. The event works perfectly when I set ModeToolbar to Internal or Script  and as soon as I switch to External nothing happens.

   Report 
   07-05-2006, 2:39
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: ToolbarUpdate Event
Reply Quote

Hi,

you are right.
Which mode do you use: Word Processor or HTML mode ?

Regards,
Hans-Peter


   Report 
   07-05-2006, 2:46
derdoe is not online. Last active: 04.07.2006 12:40:18 derdoe

Top 200 Posts
Joined on 07-04-2006
Posts 3
Re: ToolbarUpdate Event
Reply Quote
I was using HTML mode, but I just tried it with Word Processor and got the same result.

   Report 
   07-05-2006, 4:59
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: ToolbarUpdate Event
Reply Quote

Hi,

we have a fix for this tomorrow.
I will send it to your email.

Regards,
Hans-Peter

 


   Report 
   05-26-2010, 6:05
Alexander is not online. Last active: 26.05.2010 15:04:07 Alexander

Top 75 Posts
Joined on 05-26-2010
Posts 10
Re: ToolbarUpdate Event
Reply Quote
I have the same problem too.. Can you share the solution please.

   Report 
   05-27-2010, 9:02
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: ToolbarUpdate Event
Reply Quote
Hello,

which version do you use and which event do you want to get ?

Regards,
Hans-Peter
   Report 
   05-27-2010, 3:55
Alexander is not online. Last active: 26.05.2010 15:04:07 Alexander

Top 75 Posts
Joined on 05-26-2010
Posts 10
Re: ToolbarUpdate Event
Reply Quote
The last one 7.2 and the ToolbarUpdate Event it's not raised.



   Report 
   05-28-2010, 9: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: ToolbarUpdate Event
Reply Quote
Hello,

do you use web or desktop version ?

Regards,
Hans-Peter
   Report 
   05-28-2010, 3:13
Alexander is not online. Last active: 26.05.2010 15:04:07 Alexander

Top 75 Posts
Joined on 05-26-2010
Posts 10
Re: ToolbarUpdate Event
Reply Quote
I'm using winforms my friend....

   Report 
   05-31-2010, 8:55
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: ToolbarUpdate Event
Reply Quote
Hello,

did you se

Me.ModeToolbar = enToolbarConfiguration.External

We have tested this once more and the ToolbarUpdate event is raised.

Regards,
Hans-Peter
   Report 
  Page 1 of 2 (19 items) 1 2 >
Pintexx Forum » Developer Produ... » pinEdit » ToolbarUpdate Event