Handle Focus in Custom Controls [message #537892] |
Fri, 04 June 2010 02:32  |
Eclipse User |
|
|
|
Hello Experts
Our Control
I have a Custom SWT implementation of a Combobox/DropDownList.
This is implemented as a Composite containing a Text and a Button.
When the list is showed, we use a List control that is placed on top of everything and positioned at the Text and Button.
This works as expected.
The Problem
But we are having issues with focusLost and focusGained.
Ultimately i would like for any external component to throw a focusGained when any part of the custom control gains focus and only throw a focusLost when focus is lost from any part and no other part gains focus.
I would like to avoid handling focusLost and focusGained when focus is merely moved from the text to the button inside my custom control.
Do anyone know of an API to know, during focusLost, where focus will land?
Do anyone have an idea how to implement this in any way?
|
|
|
|
multiple invoices(birt reports) [message #538365 is a reply to message #538334] |
Mon, 07 June 2010 09:25  |
Eclipse User |
|
|
|
[I am using two tables, first table have group by xxxx, and details of xxx and second table will have group by xxxx and details of xxx.
my requirement is want to display the report First table data1, second table data1, first table data2, second table data2..so on.
I am able to diplay the as per my requirement but second table details will be giving all the details data every time, I mean second data1 details having second data1 details plus second data 2 details and so on
how Can I fix it? any one have solution for this please help me out.
Thanks,
Jithu
[Updated on: Mon, 07 June 2010 09:57] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03060 seconds