Date: Wed, 2 Jul 2003 17:08:53 +0200
Reply-To: Ace <b.rogers@VIRGIN.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ace <b.rogers@VIRGIN.NET>
Subject: Re: Radio Box Control
Content-Type: text/plain; charset=us-ascii
On 2 Jul 2003 07:35:10 -0700, ndavi@aufeminin.com (ninon) wrote:
>Hi all,
>
>In a frame with SAS8.2 with windows, I have a radio box control object
>which have 4 items. I want to gray 1 or 2 items but I don't know if it
>is possible and how ?
I don't think it's possible to do this, as the number and value of
'items' (i.e. buttons) is itself an attribute of the radiobox object.
You can, however, alter the number and value of the buttons displayed,
based on other selections.
For example, you only want items 1,3 and 5 available?
itemlist = makelist() ;
itemlist = insertc(itemlist,'Button no. 1',-1);
*itemlist = insertc(itemlist,'Button no. 2',-1);
itemlist = insertc(itemlist,'Button no. 3',-1);
*itemlist = insertc(itemlist,'Button no. 4',-1);
itemlist = insertc(itemlist,'Button no. 5',-1);
*itemlist = insertc(itemlist,'Button no. 6',-1);
radiobox1.items = itemlist ;
etc.
HTH
--
Ace in Basel - bruce dot rogers at roche dot com
|