, , ,

Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

Click vs doubleclick (OpenInsight 32-Bit)

At 27 JUN 2003 08:01:59AM Oystein Reigem wrote:

Will OI32 ever be able to handle both click and doubleclick properly?

- Oystein -


At 27 JUN 2003 08:59AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Oy

Hate to do this to you 'cos you're always very good at checking first but is this related to this?

The Sprezzatura Group

World Leaders in all things RevSoft


At 27 JUN 2003 10:03AM Oystein Reigem wrote:

Sprezzatura,

It's about the following things:

- A naive wish for all controls being able to do both click, doubleclick, rightclick, buttonup and buttondown

- A naive wish for controls being able to distinguish between click and doubleclick…

- …or just run both handlers; from that basis a developer can make a workaround

- A perhaps heretic wish for being able to violate the rule that doubleclick selects a word.

I might come back with a better reply after having got my thoughts together.

In the meantime here's what prompted my posting:

I have this array of bitmap controls in my form, showing thumbnails of n images related to the current row. If I click a thumbnail I want one particular thing to happen. If I doubleclick I want a different thing to happen. It doesn't matter if the click thing happens too. That's actually quite allright.

I don't think you need more details but here they are: What the click handler should do is to select the clicked thumbnail, which means showing a blue border around the thumbnail and updating some other controls in the form. The doubleclick handler should bring up an image viewer showing a full size version of the image.

- Oystein -


At 27 JUN 2003 11:16AM Donald Bakke wrote:

Oystein,

OI 7.0 will have improved mouse handling. I can't promise it will cover all of your 'wish' list (including the heresies you are propagating) but it will definitely be better.

What are you currently doing to get the functionality you want?

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 27 JUN 2003 05:00PM Oystein Reigem wrote:

Don,

OI 7.0 will have improved mouse handling.

Great!

I can't promise it will cover all of your 'wish' list (including the heresies you are propagating) but it will definitely be better.

Me propagating non-selecting doubleclick heresies? Not at all. All I want to do is to have this list box with some cute symbols from the Wingdings set I can doubleclick on. :-) :-| :-(

What are you currently doing to get the functionality you want?

Regarding that image array? All isn't implemented yet, but I plan to use a window BUTTONUP or BUTTONDOWN for click. I din't think I could have any doubleclick, so I'll use a menu item with a keyboard shortcut instead.

Do you see any way I can get doubleclick too? Windows have no DBLCLK event, and doubleclicking produces only one BUTTONUP/BUTTONDOWN as far as I can see, so I can't build my own. Can I get both click and doubleclick for my images by qualifying events?

- Oystein -

View this thread on the Works forum...