L
Lord Kelvan
Ok fun question I would like to know how to do this. I have created
an application to record assets for our organisation. I have recorded
the x and y using a map (picture of our floor plan) in a form. I am
now wanting in that for with the picture of the floor plan to be able
to create a rectangle for each asset using its x and y coordinates.
So far I have found this
mapcontrol = CreateControl("FrmAssetMap", acRectangle, acDetail,
"pgHuttLV1", "", assetrst!Assetx, assetrst!Assety, 141, 141)’
and this would be near perfect if it worked at runtime.
I cannot use the visible on off method as I don’t know how many assets
there may be nor a idea of the maximum assets there may be at any
point of time.
Is there a method that I could use to draw these assets on the map for
each page control? (There are four page controls ie four maps)
I would like whatever the marker is to be
a specific colour
on a specific tab page
a specific size
at a specific top and left point
It is not critical if I am able to hide and show the markers
dynamically but it would be nice
Thanks in advance
Regards
Kelvan
an application to record assets for our organisation. I have recorded
the x and y using a map (picture of our floor plan) in a form. I am
now wanting in that for with the picture of the floor plan to be able
to create a rectangle for each asset using its x and y coordinates.
So far I have found this
mapcontrol = CreateControl("FrmAssetMap", acRectangle, acDetail,
"pgHuttLV1", "", assetrst!Assetx, assetrst!Assety, 141, 141)’
and this would be near perfect if it worked at runtime.
I cannot use the visible on off method as I don’t know how many assets
there may be nor a idea of the maximum assets there may be at any
point of time.
Is there a method that I could use to draw these assets on the map for
each page control? (There are four page controls ie four maps)
I would like whatever the marker is to be
a specific colour
on a specific tab page
a specific size
at a specific top and left point
It is not critical if I am able to hide and show the markers
dynamically but it would be nice
Thanks in advance
Regards
Kelvan