Date: Tue, 4 Apr 2000 08:12:57 -0400
Reply-To: "Kirkland, Tammie L" <tlk94092@GLAXOWELLCOME.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Kirkland, Tammie L" <tlk94092@GLAXOWELLCOME.COM>
Subject: Re: PUSH and POP methods in 6.12 TS 065??
Content-Type: text/plain; charset=us-ascii
This is not the answer to your question, but it might work anyway -
Have you tried _swap_in_ and _swap_out_?
They can be a little flaky - or at least seem that way to my small mind -
but they will definitely work - tested on 6.12.002/NT.
If the text entry completely covers the buttons then this does not quite
work - not immediately anyway - hence the *most* but not quite all bit in
the comment.
***
obj1 is a push button
obj2 ditto
obj3 is a text string that covers *most*
but not quite all of obj1 and obj2
obj4 and obj5 are blocks;
init:
link obj5;
return;
obj1:
put 'Button 1 pushed';
return;
obj2:
put 'Button 2 pushed';
return;
obj4:
*** hide the buttons/show the text;
call notify('obj1','_swap_out_');
call notify('obj2','_swap_out_');
call notify('obj3','_swap_in_');
return;
obj5:
*** hide the text/show the buttons;
call notify('obj3','_swap_out_');
call notify('obj1','_swap_in_');
call notify('obj2','_swap_in_');
return;
> -----Original Message-----
> From: David Johnson [SMTP:David.Johnson@UK.ROYALSUN.COM]
> Sent: Tuesday, April 04, 2000 5:47 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: PUSH and POP methods in 6.12 TS 065??
>
> I have a frame with a set of push buttons that get covered with a graphic
> text
> in certain conditions.
>
> This deters the user from pressing the push buttons and is a clearer
> indication
> that the buttons are deactivated than calling the _gray_ method. Problem
> is
> that with the graphic text hidden, it still covers part of the push
> button.
>
> Is there a method that will push and/or pop a widget? .....