Page 1 of 1

How to disable options in REXX Panel

PostPosted: Tue Jan 15, 2013 4:29 pm
by Mann_B
Hi All

Can we disable options in REXX Panel.

If I need to display details of a student , I have panle like this.
Please select Name or Student id.Please enter Y infront of the option you want to select.
_AName
_BStudent id
Name       :_Name
Student ID:_Stuid
Marks      :


If user gives Y infront of Name in the first option ,then Studentid blank should be disabled (he should not be able to enter anything under studentid once he gives Y for Name) and based on Name (suppose it is uniq) ,i should search for Marks in some file and display in Marks blank.
User should not be able to enter data in Marks blank,I should search for the Name and I shuold make it active thru my REXX pgm and display marks..

Can you please let me know if it is possible.

Code'd

Re: How to disable options in REXX Panle

PostPosted: Tue Jan 15, 2013 4:48 pm
by enrico-sorichetti
Can we disable options in REXX Panel.

REXX Panel ... the term is improper ...
REXX panels do not exists , most probably You meant ISPF panels

using sloppy terminology will not stimulate the benevolence of the people with the knowledge to answer

Can you please let me know if it is possible.


YES...

if You do not like YES/NO answers do not ask Yes no questions

how to handle dynamic fields attributes is explained in the ISPF manuals

Re: How to disable options in REXX Panle

PostPosted: Tue Jan 15, 2013 7:56 pm
by Pedro
Look in Dialog Developers Guide and Reference for .ATTR and .ATTRCHAR functions. Use them in the )INIT section of the panel.