LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: Lorne Klassen <lk1@ROGERS.COM>

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.


Back to: Top of message | Previous page | Main SAS-L page