Thanks Tim, Charles, and Christian... When I tried this last night it seems I was coding with one open. It never dawned on me to use the x and y values to do the filtering in the areas I want and not in the other. As it turns out I don't want clicks in the listbox at all just the scrollbar. So I use < if x<Listbox.width-15 then return true > I shield the listbox from clicks no matter what size the listbox is.

It's amazing what some guidance and a little sleep will do. Thanks again.


Message: 13
Subject: Re: Disabling Clicks In Listbox
From: Tim Jones <[EMAIL PROTECTED]>
Date: Wed, 12 Jul 2006 13:24:06 -0700


Trap the click in the CellClick event and return True.

Sub Listbox.CellClick
        Return True
End Sub


Tim
--
Tim Jones                                                       [EMAIL 
PROTECTED]

Message: 14
Subject: Re: Disabling Clicks In Listbox
From: Charles Yeomans <[EMAIL PROTECTED]>
Date: Wed, 12 Jul 2006 16:24:42 -0400

You could return true in MouseDown if the click looks like it's in a
disclosure triangle.

Charles Yeomans

Message: 20
Subject: Re: Disabling Clicks In Listbox
From: Christian Miller <[EMAIL PROTECTED]>
Date: Wed, 12 Jul 2006 16:43:22 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jul 12, 2006, at 4:24 PM, Charles Yeomans wrote:
You could return true in MouseDown if the click looks like it's in
a disclosure triangle.

Yes, I do something similar where I need to have a listbox "disabled"
but still allow the user to scroll it up and down.  Works great.


Christian
Pariahware, Inc. Custom Software
<[EMAIL PROTECTED]>
<http://www.pariahware.com>
- --

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to