|
|
pinEdit
Started by smartin at 04-07-2006 7:04 . Topic has 18 replies.
 
 
|
|
Sort Posts:
|
|
|
|
04-07-2006, 7:04
|
smartin
Joined on 04-07-2006
Posts 2
|
|
|
|
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
Joined on 08-30-2005
Posts 1.910
|
|
|
|
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
Joined on 04-07-2006
Posts 2
|
|
|
Thanks, that worked beautifully!
|
|
|
|
|
Report
|
|
|
|
07-04-2006, 4:23
|
derdoe
Joined on 07-04-2006
Posts 3
|
|
|
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
Joined on 08-30-2005
Posts 1.910
|
|
|
|
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
Joined on 07-04-2006
Posts 3
|
|
|
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
Joined on 08-30-2005
Posts 1.910
|
|
|
|
Hi,
you are right. Which mode do you use: Word Processor or HTML mode ?
Regards, Hans-Peter
|
|
|
|
|
Report
|
|
|
|
07-05-2006, 2:46
|
derdoe
Joined on 07-04-2006
Posts 3
|
|
|
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
Joined on 08-30-2005
Posts 1.910
|
|
|
|
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
Joined on 05-26-2010
Posts 10
|
|
|
I have the same problem too.. Can you share the solution please.
|
|
|
|
|
Report
|
|
|
|
05-27-2010, 9:02
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
|
|
Hello,
which version do you use and which event do you want to get ?
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
05-27-2010, 3:55
|
Alexander
Joined on 05-26-2010
Posts 10
|
|
|
The last one 7.2 and the ToolbarUpdate Event it's not raised.
|
|
|
|
|
Report
|
|
|
|
05-28-2010, 9:32
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
|
|
Hello,
do you use web or desktop version ?
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
05-28-2010, 3:13
|
Alexander
Joined on 05-26-2010
Posts 10
|
|
|
I'm using winforms my friend....
|
|
|
|
|
Report
|
|
|
|
05-31-2010, 8:55
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
|
|
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
|
|
|
|