| SWT Graphics and Controls [message #1016951] |
Fri, 08 March 2013 05:16  |
Rahul Yadav Messages: 65 Registered: July 2009 |
Member |
|
|
HI All,
I have a scenario where i am drawing a rectangles around a text box on focus lost and gained events. Every thing goes fine as long as TextBox is visually seen on screen..the movment i scroll the composite contents...such that textbox can not be seen visually anymore..things starts to fail. Rectangles are getting drawn relative to TextBox location which is actually not visible now.
Is there anyway to first check if Control is visually seen on the screen or not...in case it is not seen on display i will not draw the lines let there be any event on control.
Thanks & Regards,
Rahul
|
|
|
|
Powered by
FUDForum. Page generated in 0.01466 seconds