> '*** The following bit must be wrong because
> '*** it never evaluates to true.
>
> If s_Layer intersects o_Rectangle then
> LayerIsVisible = TRUE
> end if

It is amazing if this compiles at all.

You will either have to use function IntersectNodes() and loop through
all records in s_Layer or save your o_rectangle in a table and use SQL
as you have started to do above. Perhaps command "Create Object As
Intersect" can be used, but it would also require saving the rectangle
into a table and it doesn't seem easier.

It is a lot more complicated than your present code, sorry :-)

Regards
Uffe


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 2335

Reply via email to