Finding components in a panel
I have a Label at x=60 and y=60 inside a Panel. I need to find out components that are 25 pixels (surrounding)within the label. i.e surrounding the label on any side.
e.g I have label, label1 and label2.
label is at x=60 and y=60
label1 is at x=45 and y=45
label2 is at x=300 and y=300
I need to get components that are surrounding "label" at 25 pixels at any side.
Any help would be greatly appreciated.