|SWT Graphics and Controls [message #1016951]
||Fri, 08 March 2013 05:16
| Rahul Yadav
Registered: July 2009
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,
Powered by FUDForum
. Page generated in 0.01559 seconds