|
Mark, what I did in a similar situation was to use the *AUTOENT keyword and when the radio button is clicked I process any issues that you mention. If the person can't make that choice the program just uses the saved value and sets the radio button group back like it was. S/he can click their mouse all they want, nothing appears to happen. _______________________ Booth Martin Booth@MartinVT.com http://www.MartinVT.com _______________________ Mark Drazic <Mark.Drazic@Omniumww.com> Sent by: owner-rpg400-l@midrange.com 12/05/2000 11:24 AM Please respond to RPG400-L To: "'RPG400-L@midrange.com.'" <RPG400-L@midrange.com> cc: Subject: Protect Radio Buttons? In trying to use Radio Buttons (SNGCHCFLD), there does not appear to be a way to protect them and at the same time display that one was selected for the purpose of allowing a user to VIEW, but not change, the selections. Once you indicate that a Radio Button was selected, usually by having the Choice Number in the SNGCHCFLD field, and even if all the Choice Control values are 4 (unavailable), the system still allows you to put the CURSOR on and change the selection value of the Radio Button. SNGCHCFLD does NOT support DSPATR(PR), and it acts like the Selection value is overriding the CHCCTL availablity value. Being able to VIEW only the results of a selection is very important to the continued use of this feature. Any help would be greatly appreciated. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.