Joe:
I do something similar but I pass the image file to a form that displays the 
image and can be closed either by a timer event or by closing it by clicking a 
button. There is a checkbox on the calling form to confirm the seeing of the 
image on selection.
You could do something similar where on a click you see the previous processed 
image and have the current image on the calling form.
Just an idea to avoid the mouseup/down confusion you are experiencing.
Regards,

Jack Skelley


________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Joe Yoder [EMAIL 
PROTECTED]
Sent: Tuesday, September 30, 2008 1:15 PM
To: [EMAIL PROTECTED]
Subject: re: Click and hold selection from a listbox?

I'm still wondering about this one - I posted this over the weekend and
got no response.  Maybe there is no way to do what I want and maybe my
explanation needs revision.  If it's clear and there is no answer I can
live with what I have.

Thanks - Joe

On Saturday, September 27, 2008 12:24 PM, Joe Yoder wrote:
>
>Date: Sat, 27 Sep 2008 12:24:42 -0400
>From: Joe Yoder
>To: [EMAIL PROTECTED]
>cc:
>Subject: Click and hold selection from a listbox?
>
>I have a form used to process image files.  The active image is displayed 
>along with a listbox of previously processed image files from a table.  I want 
>to allow the user to temporarily display any image from the list to verify 
>that the active image is unique and not a duplicate of one already processed.
>
>I am using the mouse down event to display the temporary image and the mouse 
>up event to redisplay to the active one.  This gives the functionality I want 
>but when I select a new item from the list, I need to click it twice in order 
>to display the proper image.  Apparently the listbox.value property is not 
>updated until the mouse up event.  My code reads the value property during the 
>mouse down event.  This explains the need for a double select when there is a 
>selection change.
>
>My intent in choosing the select and hold approach is to prevent confusion 
>about which image is being viewed.  The only time a non-active image is 
>displayed is when the mouse button is held down.
>
>Does someone know of a way to have the listbox approach always work on the 
>first click or have another approach to suggest?
>
>TIA - Joe
>
>
>--- StripMime Report -- processed MIME parts ---
>multipart/alternative
>  text/plain (text body -- kept)
>  text/html
>---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to