Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Graphics and Controls(How to check whether a control is visible on screen or not.)
SWT Graphics and Controls [message #1016951] Fri, 08 March 2013 10:16 Go to next message
Rahul Yadav is currently offline Rahul YadavFriend
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



Re: SWT Graphics and Controls [message #1017205 is a reply to message #1016951] Mon, 11 March 2013 06:29 Go to previous message
Chandrayya Kumarswamimath is currently offline Chandrayya KumarswamimathFriend
Messages: 26
Registered: August 2010
Location: Bangalore
Junior Member
Please provide the code snippet.
Previous Topic:SWT - switch an icon with a text string position.
Next Topic:Waiting cursor "best practice"
Goto Forum:
  


Current Time: Tue Apr 23 07:19:24 GMT 2024

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

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

Back to the top