By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,474 Members | 3,214 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,474 IT Pros & Developers. It's quick & easy.

Dimming the Image in an IMage Control?

P: n/a
Is this possible does anyone know? I mean other than using imaging
software.

The scenario is this. I have a form with a large image control over
which is imposed a grid of squares (label controls with transparent
backgrounds). The image control is a map (user chooses a map or image
in previous forms). The idea is to use the on click event of a label to
bring up another form into which comments, etc, can be stored about that
area of the map.

Because of the many colours in maps, it would be oideal for the user to
be able to "tone down" the intensity or brightness of the image control
manually at various points in the data entry.

Thanks for any ideas...
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Nov 13 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Sorry Tim I missed this post and only caught it in a Google Search.
We're you able to produce a solution or do you still require assistance?

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Tim Marshall" <TI****@PurplePandaChasers.Moertherium> wrote in message
news:d9**********@coranto.ucs.mun.ca...
Is this possible does anyone know? I mean other than using imaging
software.

The scenario is this. I have a form with a large image control over
which is imposed a grid of squares (label controls with transparent
backgrounds). The image control is a map (user chooses a map or image
in previous forms). The idea is to use the on click event of a label to bring up another form into which comments, etc, can be stored about that area of the map.

Because of the many colours in maps, it would be oideal for the user to be able to "tone down" the intensity or brightness of the image control manually at various points in the data entry.

Thanks for any ideas...
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me


Nov 13 '05 #2

P: n/a
Stephen Lebans wrote:
Sorry Tim I missed this post and only caught it in a Google Search.
We're you able to produce a solution or do you still require assistance?
I appreciate your responding, Stephen, and no, I haven't got a solution.
I thought perhaps an API type of proc might do this, but I don't know
anything about APIs - I use a lot of API modules in my applications, but
these are largely copied from the Access Web or contributors on this
group and only after careful review of them am I able to do any
customization for my own purposes.

If you have any kind of suggestion, it would be greatly appreciated.
I've quoted my original message below.
"Tim Marshall" <TI****@PurplePandaChasers.Moertherium> wrote in message
news:d9**********@coranto.ucs.mun.ca...
Is this possible does anyone know? I mean other than using imaging
software.

The scenario is this. I have a form with a large image control over
which is imposed a grid of squares (label controls with transparent
backgrounds). The image control is a map (user chooses a map or image
in previous forms). The idea is to use the on click event of a label


to
bring up another form into which comments, etc, can be stored about


that
area of the map.

Because of the many colours in maps, it would be oideal for the user


to
be able to "tone down" the intensity or brightness of the image


control
manually at various points in the data entry.

Thanks for any ideas...
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me


--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Nov 13 '05 #3

P: n/a
A somewhat simple solution could be produced if the images of the map(s)
were originally in standard Bitmap(bmp) format prior to being loaded in
the Picture property of the Image control.
Is this possible?

Alternatively, I have another possible solution but it would depend on
the total number of squares in the grid you are using.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Tim Marshall" <TI****@PurplePandaChasers.Moertherium> wrote in message
news:da**********@coranto.ucs.mun.ca...
Stephen Lebans wrote:
Sorry Tim I missed this post and only caught it in a Google Search.
We're you able to produce a solution or do you still require assistance?

I appreciate your responding, Stephen, and no, I haven't got a solution. I thought perhaps an API type of proc might do this, but I don't know anything about APIs - I use a lot of API modules in my applications, but these are largely copied from the Access Web or contributors on this
group and only after careful review of them am I able to do any
customization for my own purposes.

If you have any kind of suggestion, it would be greatly appreciated.
I've quoted my original message below.
> "Tim Marshall" <TI****@PurplePandaChasers.Moertherium> wrote in

message > news:d9**********@coranto.ucs.mun.ca...
>
>>Is this possible does anyone know? I mean other than using imaging
>>software.
>>
>>The scenario is this. I have a form with a large image control over >>which is imposed a grid of squares (label controls with transparent
>>backgrounds). The image control is a map (user chooses a map or image >>in previous forms). The idea is to use the on click event of a
label >
> to
>
>>bring up another form into which comments, etc, can be stored about

>
> that
>
>>area of the map.
>>
>>Because of the many colours in maps, it would be oideal for the
user >
> to
>
>>be able to "tone down" the intensity or brightness of the image

>
> control
>
>>manually at various points in the data entry.
>>
>>Thanks for any ideas...
>>--
>>Tim http://www.ucs.mun.ca/~tmarshal/
>>^o<
>>/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
>>/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me

>
>

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me


Nov 13 '05 #4

P: n/a
Stephen Lebans wrote:
A somewhat simple solution could be produced if the images of the map(s)
were originally in standard Bitmap(bmp) format prior to being loaded in
the Picture property of the Image control.
Is this possible?
It is, but I would still like to be able to use a jpg. I could set
something up that checks the extension of the image and then let users
know a bmp is preferable as it can be dimmed.

Note also, the image control is a linked file as oppossed to embedded.
The application can have many maps which when a user is intiating a new
instance/use points to via a windows open file API.

When the "map form" loads, the appropriate record has the image location
saved as a text field and the on open event sets the picture property
for the image control.
Alternatively, I have another possible solution but it would depend on
the total number of squares in the grid you are using.


The grid is actually composed of label objects - about 600 of them -
that are over top of the image control, al with transparent background.
I allow the users to specify a border colour (they can play around
with the API colour picker - from the Access Web) and a forecolor for
the number in the square.

I really appreciate your taking the time to think about this.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Nov 13 '05 #5

P: n/a
Tim I have not forgotten about this thread. My wife and eldest daughter
left yesterday for a two week visit to Europe so I am relearning the
joys of cooking, cleaning and laundry!

I currently have a solution for embedded BMP's but am looking into a
solution that would work for all image formats.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Tim Marshall" <TI****@PurplePandaChasers.Moertherium> wrote in message
news:da**********@coranto.ucs.mun.ca...
Stephen Lebans wrote:
A somewhat simple solution could be produced if the images of the map(s) were originally in standard Bitmap(bmp) format prior to being loaded in the Picture property of the Image control.
Is this possible?
It is, but I would still like to be able to use a jpg. I could set
something up that checks the extension of the image and then let users
know a bmp is preferable as it can be dimmed.

Note also, the image control is a linked file as oppossed to embedded.
The application can have many maps which when a user is intiating a

new instance/use points to via a windows open file API.

When the "map form" loads, the appropriate record has the image location saved as a text field and the on open event sets the picture property
for the image control.
Alternatively, I have another possible solution but it would depend on the total number of squares in the grid you are using.
The grid is actually composed of label objects - about 600 of them -
that are over top of the image control, al with transparent

background. I allow the users to specify a border colour (they can play around
with the API colour picker - from the Access Web) and a forecolor for
the number in the square.

I really appreciate your taking the time to think about this.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me


Nov 13 '05 #6

P: n/a
Stephen Lebans wrote:
Tim I have not forgotten about this thread. My wife and eldest daughter
left yesterday for a two week visit to Europe so I am relearning the
joys of cooking, cleaning and laundry!
Oh c'mon, when my wife and daughter took off on me a couple of years ago
to drive around my wife's native Michigan for a couple of months, it was
much simpler and didn't take me long at all to relearn the joy's of
McYucks et al! 8) Come to think of it, I'm still paying the
consequences of that trip...
I currently have a solution for embedded BMP's but am looking into a
solution that would work for all image formats.


Much appreciated.

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Nov 13 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.