Date: Wed, 16 Apr 1997 05:07:11 EDT
Reply-To: "DEANMU DEZURL10 Nya (DEANMU) Murray at DEAM0002"
<deagrqmu@IBMMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "DEANMU DEZURL10 Nya (DEANMU) Murray at DEAM0002"
<deagrqmu@IBMMAIL.COM>
Subject: Re: 2 LINE LABELS IN A SAS/AF DATA TABLE?
Content-Type: text/plain; charset=US-ASCII
Try overriding the following methods of the table data model
class
/*+------------------------------------------+
|_GET_COLUMN_DIM_INFO_ method |
+------------------------------------------+*/
gcdinfo:
method
coladdr elements subdim height 8 units $ group 8 eod $;
call super
(_self_,_method_,coladdr,elements,subdim,height,units,group,
eod)
;
/*+------------------------------------------+
| Modify height to be high enough Ensure |
| that labels are set to LEFT TOP in the |
| table editor otherwise can have probs |
| here. |
+------------------------------------------+*/
height =10;
units='ht';
endmethod;
and the form data model class
/*+------------------------------------------+
|_GET_COLUMN_INFO_ method |
+------------------------------------------+*/
gcinfo:
method
rcdvec 8;
call super (_self_,_method_,rcdvec);
/*+------------------------------------------+
| Set the wrapping of column labels. |
+------------------------------------------+*/
call send (rcdvec,'_SET_WRAPPING_','Y','*');
endmethod;
By the rules of inheritance of classes and by virtue of the
viewer/model paradigm, these methods should be available to
either a data table or a data form.
Good luck!
Nya Murray
PC Analysis Services
Cologne.