Skip to main content


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 14:46
Eclipse UserFriend
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 Apr 23 10:39:59 GMT 2024

Powered by FUDForum. Page generated in 0.02359 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top