>>And knowing your original problem, assuming you're using shapes coming from a common class, you might make it another way. Instead of checking, shapes could say soemthing like 'hey you're stepping over me'. Something like in pseudocode:
>>
>>MouseEnter-Feedback you entered at my region
>>MouseLeave-OK you left my domain
>>
>>Cetin
>
>This would be fine but i want to place objects programmatically so no way to test the mouse.
Alessio,
Another way. Broadcast a message and ask objects if they're overlapping.
* create ShapeClass.SomeCustomProperty && .null.
ShapeClass.SomeCustomProperty_Assign
lparameters vNewVal && an object or array or string passing left,top,height,width of new placing object
* Check if overlaps this object and set say form.Tag to "HasOverlap"
Cetin