[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sas-l
Subject:    Re: Model SCL
From:       Richard DeVenezia <radevenz () IX ! NETCOM ! COM>
Date:       2000-10-31 6:40:40
[Download RAW message or body]

One other thing I forgot to check and then mention...

If you have the id of a component in a data form, you can 'hide' it from
within the model scl by using the _swapout() method .
Be sure to swap in anything swapped out when moving to a new record

a little sample model scl for a data form showing columns a and b

dfinit:
  declare object widget_b;
  _viewer_._getWidget ('b', widget_b);
return;

init:
  * conditionally hide a data form component;
  * need more code to hide the component label created in default mode;
  if a=1
    then widget_b._swapout();
    else widget_b._swapin();
return;

--
Richard DeVenezia - SAS Macros and AF Tools

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic