Page 1 of 1

Thumbnails Problem

Posted: Wed Jun 18, 2008 9:02 am
by jellis
Hi,

If I preview my report in the designer, and click the Thumnails button on the toolbar, as expected I get a thumnail of each page.
If in my app I use

Me.stiPreview.BuildThumbs()
Me.stiPreview.InvokeThumbs()

I just get an empty thumbnail pane.

What am I doing wrong/not doing?

Thanks,

Jon.

Thumbnails Problem

Posted: Thu Jun 19, 2008 2:07 am
by Edward
Hello, Jellis.

Please call the following method of the StiPreviewControl instance:

Code: Select all

stiPreviewControl1.InvokeThumbs();
Thank you.

Thumbnails Problem

Posted: Thu Jun 19, 2008 3:12 am
by jellis
Thanks for the response Edward, but I am already doing that.
I basically have created my own preview form which hosts an stiPrviewControl and a toolbar (I have turned off the tool bar on the stiPreviewControl).
When a click the 'Thumbnails' button on my toolbar I make the following two calls inside a select case statement;


Code: Select all

Case "Bookmarks" : Me.stiPreview.BuildBookmarks() : Me.stiPreview.InvokeBookmarks()
The thumbs pane appears to the right of the stiPreview but has no thumbnails in it, it is completely empty.

Any thoughts?

Jon.

Thumbnails Problem

Posted: Mon Jun 23, 2008 4:28 am
by Vital
Hello,

We have check following code:

Code: Select all

stiPreviewControl1.BuildThumbs();
stiPreviewControl1.InvokeThumbs();
This code work fine. I think we don't take in consideration some settings. Can you send to support@stimulsoft.com sample project?

Thank you.

Thumbnails Problem

Posted: Mon Jun 30, 2008 4:33 am
by jellis
Hi Vital,

Sorry it took so so for me to get back to you. I now knwo what causes the problem, but how can I solve it?
My application does not use the Stimulsoft Toolbar - I have it turned off, and map calls from a Ribbon Style toolbar to the Stimulsoft functions.
If I set the ShowToolbar of the stiPreviewControl to false, when I click my ribbon toolbar button, I get no thumbs. If I set ShowToolbar to True, I get thumbs.
I can replicate simply by putting a stiPreview on a form, turning off the Toolbar & adding a command button to call the Thumbs.
I will send the project to support.

Regards,

Jon.

Thumbnails Problem

Posted: Wed Jul 02, 2008 2:16 pm
by Edward
Hello, Jon.

Thank you for this information in detail. We are on the way of fixing this.

Thank you.