View previous topic :: View next topic
|
Author |
Message |
ravikumar15
New User
Joined: 27 Mar 2006 Posts: 68
|
|
|
|
Hi,
I have created a CLIST panel. I want to know whether is it possible to change the colour of the headings and other texts. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
CLIST panels only exist in your imagination, so you can color them any color you want. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
If you actually mean an ISPF panel, color and highlighting is all controlled with the )ATTR section. Review the ISPF Edit Models for panels and/or the ATTR section. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
...only exist in your imagination, so you can... |
I thought those had to be in black and white only? |
|
Back to top |
|
|
ravikumar15
New User
Joined: 27 Mar 2006 Posts: 68
|
|
|
|
How to use that ATTR function. Please could you provide me the syntax of that. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Please could you provide me the syntax of that. |
the manual will do it better than anybody else ( link at top of the page ) |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
ATTR is not a function, it is an attribute of the panel definition and its fields. You need to go RTFM for a long time -- at least until you understand what a panel is, how to define, and the attributes you can assign to the fields. |
|
Back to top |
|
|
ShameemOracle
New User
Joined: 23 Sep 2009 Posts: 15 Location: bangalore
|
|
|
|
hi all,
I hope the below piece of code will be self explanatory
Code: |
¢ type(text) attn(on)
¬ area(dynamic) extend(on) scroll(on)
$ type(dataout) intens(high)
@ type(dataout) intens(low) COLOR(YELLOW)
# type(dataout) intens(low) COLOR(PINK)
* TYPE(PS) /* PS -TRQ,PT-BLUE,FP/NT-GREEN */
! TYPE(TEXT) color(red)
TYPE(nt) /* Shift+6 (CAP)character */
` type(TEXT) COLOR(GREEN)
~ type(nef)
|
For more info: ISPF Panjels Beyond Basics From ISPF guru Doug Nadel |
|
Back to top |
|
|
ShameemOracle
New User
Joined: 23 Sep 2009 Posts: 15 Location: bangalore
|
|
|
|
The code will look like this
Code: |
)ATTR FORMAT(MIX)
¢ type(text) attn(on)
¬ area(dynamic) extend(on) scroll(on)
$ type(dataout) intens(high)
@ type(dataout) intens(low) COLOR(YELLOW)
# type(dataout) intens(low) COLOR(PINK)
* TYPE(PS) /* PS -TRQ,PT-BLUE,FP/NT-GREEN */
! TYPE(TEXT) color(red)
^ TYPE(nt) /* Shift+6 (CAP)character */
` type(TEXT) COLOR(GREEN)
~ type(nef)
|
|
|
Back to top |
|
|
|