catch a click event of a stiText In Preview Mode

Stimulsoft Reports.NET discussion
Post Reply
sphextor
Posts: 38
Joined: Tue Apr 01, 2008 1:42 am
Location: Thailand

catch a click event of a stiText In Preview Mode

Post by sphextor »

Is it possible to catch a click event of a text element of a report hosted in a StiPreviewControl?

I've got a report viewed inside a Windows Forms, I would like to catch the text click event to show context menu for user to choose
pre define text to show in preview mode

Please share code in vb.net

Thank you
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

catch a click event of a stiText In Preview Mode

Post by Vital »

You can use Click event of StiReport. This event occurs when user click on component in preview window.

Thank you.
sphextor
Posts: 38
Joined: Tue Apr 01, 2008 1:42 am
Location: Thailand

catch a click event of a stiText In Preview Mode

Post by sphextor »

Thank you.

But Is it posible to handle that event in My Form event Not In Report event

Please..
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

catch a click event of a stiText In Preview Mode

Post by Vital »

In version 2008.1 you can only handle click event in report or in report component. In build from 2 April (when it will be available) we have added two new events - ClickComponent and DoubleClickComponent to StiPreviewControl.

Thank you.
Post Reply