First off, this sounds like a really cool application.
It should be. The new capabilities of RB7 are making this possible, where before a separate program was required to generate the graphics from the RB6.5 database. While my test today was just using a simple rectangle on each lot, I also have lot GIFs that can be aligned rather well, which allows the full lot to be colored depending upon status. The area outside the lot border, but within the GIF graphic, is transparent so that adjoining lot variable graphics don't interfere.
I'm doing this as a test and hope my client will buy into it, and buy it!
Larry, thanks for the ideas. I fixed it. I set the popup form size to the size I wanted (640x480) rather than using the AT command in the EEP to do it. The wallpaper graphic is also this size, which allows the underlying "calling" form to still show.
I like your idea #2 which may be the key to making this easy to set up for a many lot project! Thanks!
Pat
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
