ThumbnailEx Get Item Text

Discussions about document viewing.
Post Reply
lagwadam
Posts: 7
Joined: Mon Dec 27, 2010 1:14 am

ThumbnailEx Get Item Text

Post by lagwadam » Sun Jan 09, 2011 2:27 pm

I can use the SetItemText method to set the text for a thumbnail when I know it's index.

If I know the thumbnail's index, how do I get that item's text or a reference to that item?

I would be happy with getting an item's text. In a perfect world, I would also like to access an Item and be able to change other properties about it.

Now I'm getting greedy; but is there a way to change a specific thumbnail's border color, background color, add a checkbox to it, or anything else?

Thanks,
Lagwadam

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ThumbnailEx Get Item Text

Post by Loïc » Mon Jan 10, 2011 12:27 pm

Hi,

We will add the GetItemText() method for the next minor release (should be released very soon).

For other options (border colors, checkbox etc...) this requires some investigations from our side. We will do our best to bring the maximum of level control for each items in the list in our future releases.

Kind regards,

Loïc

lagwadam
Posts: 7
Joined: Mon Dec 27, 2010 1:14 am

Re: ThumbnailEx Get Item Text

Post by lagwadam » Mon Jan 10, 2011 7:19 pm

Thanks Loïc for the quick response,

In the mean time, I can keep track of the Items' text in a separate array.

Adam

lagwadam
Posts: 7
Joined: Mon Dec 27, 2010 1:14 am

Re: ThumbnailEx Get Item Text

Post by lagwadam » Thu Mar 10, 2011 2:12 pm

Hi Loïc,

I downloaded the newest version, and started using the new features of ThumbnailEX. I want to thank you because the new additions make my user interface a lot cleaner.

I want to tell you a problem I had with the ItemChecked event. It wasn't firing when I checked an item for the first time. But every check and/or uncheck there after fired the event from then on.

I worked around the problem by checking and unchecking each thumbnail in a loop when I first loaded a multipage tiff.

Let me know if you want a simple code sample.

Thanks again,
Lagwadam




MouseModeDefault

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ThumbnailEx Get Item Text

Post by Loïc » Thu Mar 10, 2011 4:37 pm

Hi Lagwadam,

I reproduced & fixed the problem for the next release ;)

Thank you for the feedback !

Loïc

lagwadam
Posts: 7
Joined: Mon Dec 27, 2010 1:14 am

Re: ThumbnailEx Get Item Text

Post by lagwadam » Fri Mar 11, 2011 2:24 am

Hi Loïc,

Thanks for the super quick response!

I'll keep an eye out for the next release.

Lagwadam

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests