Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit

Started by Luciano at 09-04-2008 10:15 . Topic has 7 replies.

Print Search
Sort Posts:    
   09-04-2008, 10:15
Luciano is not online. Last active: 23.12.2008 10:48:28 Luciano

Top 25 Posts
Joined on 05-12-2008
Posts 25
Intercept Event
Reply Quote
Hi,
i use pinEdit 7.0 .Net desktop version.

How can intercept when is generate an event not custom of the toolbar (for exemple editBold())?

Thank you.

Regards, Luciano.


   Report 
   09-04-2008, 1:11
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.571
Re: Intercept Event
Reply Quote
Hello Luciano,

I'm not sure what you mean.

If you use XML toolbar then a toolbar event is raised when clicking on the button.

Regards,
Hans-Peter

   Report 
   09-04-2008, 2:33
Luciano is not online. Last active: 23.12.2008 10:48:28 Luciano

Top 25 Posts
Joined on 05-12-2008
Posts 25
Re: Intercept Event
Reply Quote
Ok so...

I've a xml toolbar with this button (for example):

<button image="bold.gif" tag="BOLD" callback="editBold(!button.pressed)" tooltipid="201" ></button>

When i click the button it performs the callback method editBold().

I want to intercept when the method editBold is called or when the button is pressed.

We can do this?

I hope to have been clear

Regards, Luciano.

   Report 
   09-04-2008, 5:05
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.571
Re: Intercept Event
Reply Quote
Hello,

please try this:



and you should get a custom event with key="BOLD"

Regards,
Hans-Peter

   Report 
   09-04-2008, 5:31
Luciano is not online. Last active: 23.12.2008 10:48:28 Luciano

Top 25 Posts
Joined on 05-12-2008
Posts 25
Re: Intercept Event
Reply Quote
i'm sorry but i dont see anything... what i've to try?

   Report 
   09-05-2008, 8:56
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.571
Re: Intercept Event
Reply Quote
Sorry,

please try this:

button image="bold.gif" tag="BOLD" callback="RaiseCustomEvent('BOLD')" tooltipid="201"

and you should get a custom event with key="BOLD"

Regards,
Hans-Peter
   Report 
   09-05-2008, 9:42
Luciano is not online. Last active: 23.12.2008 10:48:28 Luciano

Top 25 Posts
Joined on 05-12-2008
Posts 25
Re: Intercept Event
Reply Quote
For all buttons/commands of all toolbars?

There is another solution?

Thanks for the help.

Regards, Luciano


   Report 
   09-05-2008, 12:13
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.571
Re: Intercept Event
Reply Quote
Hello,

for all buttons for which you need an event.
You can also turn of built in toolbar and use your own.

Regards,
Hans-Peter
   Report 
Pintexx Forum » Developer Produ... » pinEdit » Intercept Event