|
V6-AF-D080
Setting column width with _SET_COLUMN_ATTRIBUTES_ may not work
|
If you attempt to define the width of a column in a Data Table object ina SAS/AF FRAME entry by setting COLUMN_WIDTH with the methods
_SET_COLUMN_ATTRIBUTES_ or _SET_COLUMN_ATTRIBUTE_, the width of the
column may not be adjusted to the width you specified.
To circumvent the problem, you will need to (1) open the data set with
_SET_DATASET_ and (2) override the Table Data Model method
_CLEAR_SOFT_RESIZES_ by executing _SET_INSTANCE_METHOD_. In the method
override, execute the following statements:
CLEARSR:
method;
call super(_self_,'_clear_soft_resizes_');
call send(_self_,'_set_column_attribute_','colname',
'column_width',100);
endmethod;
Note that the number you specify for COLUMN_WIDTH is measured in points
(72 points/inch) and it *must* be wide enough to accommodate the column
label's text.
| Products: | AF |
| Component: | AF |
| Priority: | MED |
| Status: | Outstanding Problem |
| Date: | Fri, 17 Jan 1997 |
| System | Release Reported | Release Fixed |
| AIX/6000 | 6.12 TS020 | 6.12 TS045 |
| OpenVMS Alpha | 6.12 TS020 | 6.12 TS045 |
| HP-UX Operating Systems | 6.12 TS020 | 6.12 TS045 |
| IBM OS/2 | 6.12 TS020 | 6.12 TS045 |
| Solaris | 6.12 TS020 | 6.12 TS045 |
| Windows 3.11 | 6.12 TS020 | 6.12 TS045 |
| Windows 95 | 6.12 TS020 | 6.12 TS045 |
| Windows NT | 6.12 TS020 | 6.12 TS045 |
| Compaq Tru64 Unix | 6.12 TS040 | |
| Macintosh | 6.12 TS040 |
No Fixes Available