> I am trying to create a form with an image of a neighborhood on it, with a
> clickable boxs on different areas that would popup another *smaller* form
> with a more detailed image of that particular block of homes.  I've gotten
> that to work, which is very nice, but I also want to show an indicator
> graphic on each lot based on its status (for sale, sold, etc.).  I can set up
> a variable image on each lot on the popup form, and that works, but when I do
> the popup from the main neighborhood form, the variable image on each lot
> shifts and doesn't stay where I placed it on the form.

First off, this sounds like a really cool application.

The images one the popup form should not shift around unless:

1. You have change the Align or Anchors properties.

or

2. You are directly manipulation the TOP and LEFT properties in an EEP.

What's more likely, from your description, is that the "local" maps on the
popup form are not identical -- each one has different shaped lots in slightly
different locations, or something like that.  That would make the overlay
images appear to shift with respect to the lots, when in fact it's the lot
lines in the underlying image that are shifting.

Does that make any sense?  If so, do you think it accurately describes the
problem?

If so, here are some ideas:

1. Can you generate the pop-up image "live" at run-time, with the right
indicator image on each lot?

2. Can you store alongside the pop-up image a set of values that will tell you,
for each lot, where to place the images (using pixel offsets from the top and
left of the pop-up image)?  Using these, you could have code in the ON AFTER
START EEP that would move the images around using PROPERTY TOP and PROPERTY
LEFT.
--
Larry

Reply via email to