View previous topic :: View next topic
|
Author |
Message |
bhuspin
New User
Joined: 13 Aug 2008 Posts: 26 Location: chennai
|
|
|
|
hi
I designed a panel with 40 fields and i put data to respective fields from my input dataset, Now if i use a option to find a string in a panel,
And its working but how to hilite respective string in panel..... |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
See ISPF Developer's Guide and Reference for examples of the .ATTR control variable. |
|
Back to top |
|
|
bhuspin
New User
Joined: 13 Aug 2008 Posts: 26 Location: chennai
|
|
|
|
pedro
i want to know for a dynamically changing string.
in detail problem is
i type a field name in find string and it shows respective panel and in that panel four string with same name will be there,for the four i have to hilite and same time next time i will type a different field name in find string and i have to check it.....
help me in this issue |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Pedro already helped you. the .ATTR control variable is your answer.
O. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You will have in the attr section of the panel
define 40 different ATTR types with the relative ATTRCHAR
and change it according to the found flag...
or if it is an output panel only it would be faster to use a dynamic area |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
1. In your program, set a variable to indicate that a particular field should be a different color.
2. in the )INIT section of the panel, use an IF statement to control whether the changing of the attribute of a particular field is needed. Change the attribute using the .ATTR control variable. Please see the manual. |
|
Back to top |
|
|
|