Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » select item in the gallery widget
select item in the gallery widget [message #595887] Sun, 09 August 2009 10:46
Eclipse User
Originally posted by: vicenterg.arrakis.es

Hello!
I'm spanish developer and i'm including the gallery widget in my program.
The problem i have is that i don't know how can i select an item
programmatically.
I've added a selectionListener and when i click on a item , does right.
But now i fill the gallery with 40 photos, and i don't know how can i
tell to the program "select and highlight the last one, for example".

I've tried with setSelection, but can't do that.
In a SWT table, i use select(int itemNumber) and after
"notifyListener(SWT.Selection...)", but with the gallery widget i don't
know how to make it!!!.

Can you help me...???

And thanks for your help!!!
Previous Topic:Grid: setting checked state of the item according to the model
Next Topic:Gannt Chart - Date from and Date to
Goto Forum:
  


Current Time: Tue Jul 22 19:45:42 EDT 2014

Powered by FUDForum. Page generated in 0.01578 seconds