TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
>Goto WiederHolen 'goes back to reentry point before dialog box
>End If
Rather than Goto WiederHolen (the beginning), display your UserDialog again
at this point, within the IfThen statement. User input should remain.
True, but it costs a lot of lines of code. Using a variable to store the
string, then to display it the second+ time through is much more efficient.
InstallationDlg.Comment$ = userstring$ would cause the user's input to be
displayed as the default text. If you set userstring$ to "" before the
WiederHolen, and set userstring$ to InstallationDlg.Comment$ before looping
back, the default text for the comment field is blank the first time and
has user's input thereafter. Only takes 3 lines of code!