Date: Sun, 20 Apr 2008 10:20:11 -0400
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: AF: Disabling a List Box
Lorne,
I am not sufficiently familiar with SAS/AF to be of much help but, from
your description, is sounds like a table viewer control might be more well
suited for what you want to accomplish.
Have you tried that yet?
Art
-----
On Fri, 18 Apr 2008 18:24:21 -0400, Lorne Klassen <lk1@ROGERS.COM> wrote:
>I have a list box that is meant for viewing items only. The user should
not
>select items. So I set the list box's enabled property to NO. But the
>problem with this is that I'd still like the user to be able to scroll the
>list box. The other problem is the items are colored gray when it's
>disabled. I would like to have the list box items black instead of gray.
>
>Is it possible to have enabled set to YES but somehow prevent the user
from
>selecting items?
>
>I can simply set the selectedIndexes property to 0 whenever the user
clicks
>the list box but I think they would lose their scroll position since it
>would scroll back to the top of the list. Plus there may be some flashing.
|