|
Hi Edmond, My point is that while this solution works, it is cumbersome and could be made less so by displacing the "Replace then Find" radio button with a "Replace all with prompt" radio button that basically built and executed the change command that Buck posted earlier. Other than for simulating a prompted replace, what else do you use the "Replace then Find" radio button for? Also, by creating this new "Replace all with prompt" radio button you wouldn't have to leave the "Cancel after find" box unchecked all the time and therefore, you wouldn't need to go and CANCEL the dialog box after each find or find/replace session. It takes 3-4 key strokes to cancel this dialog box depending on whether the last action was a FIND or a REPLACE (no Alt-C shortcut here). The alternative is to take your hand completely off the keyboard and grab the mouse. Either way, it's not very efficient. I guess one other alternative would be to not cancel the dialog box at all and just leave it open all the time but that could be dangerous. Another possible solution would be to have the "Replace then find" radio button ignore the "Cancel after find" option and keep the dialog box open until it was manually canceled/closed. Thanks for your insights, Brian -----Original Message----- From: code400-l-admin@midrange.com [mailto:code400-l-admin@midrange.com]On Behalf Of Edmund.Reinhardt@ca.ibm.com Sent: Monday, January 21, 2002 12:35 PM To: code400-l@midrange.com Subject: RE: Find and Replace dialog question This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hello Brian, The way I have been using it for the last 10 years is to leave the "Cancel after find" box unchecked all the time and I always use the "Replace then find" button. But there always infinite variations on removing the cutaneous layer of a feline (many ways to skin the cat). HTH ---------------------------------------------------------------------------- ----------------- Edmund Reinhardt, AS/400 AD Tools, reinhard@ca.ibm.com Dept 607, IBM Canada Lab TL 969-4392 Phone 905-413-4392 Please respond to code400-l@midrange.com Sent by: code400-l-admin@midrange.com To: <code400-l@midrange.com> cc: Subject: RE: Find and Replace dialog question Hello Hak, Yes, this is a viable solution but it is a bit combersome. This solution forces you to visit the options page every time you want to do a prompted replace in order to uncheck the "Cancel after find" box and then again after you're through to re-check the box. IMHO, a prompted "replace all" is a fairly common requirement when doing maintenance programming and from a product usability/productivity standpoint I think a radio button on the Find/Replace dialog box to perform a prompted "replace all" would be much more beneficial than the first two Replace radio buttons that currently exist. Regards, Brian -----Original Message----- From: code400-l-admin@midrange.com [mailto:code400-l-admin@midrange.com]On Behalf Of haklui@ca.ibm.com Sent: Monday, January 21, 2002 10:04 AM To: code400-l@midrange.com Subject: RE: Find and Replace dialog question With my limited knowledge of CODE editor, I think the most viable change is to leave the 'Find and Replace' prompt focused after the search. There you can do a 'Find' then 'Replace'; 'Cancel' to exit the prompt. Hak Lui AS/400 AD, IBM Canada Ltd. e-mail: haklui@ca.ibm.com _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l or email: CODE400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l or email: CODE400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l.
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.