Microsoft KB Archive/103008: Difference between revisions
From BetaArchive Wiki
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 53: | Line 53: | ||
<ol> | <ol> | ||
<li>Create a new screen.</li> | <li>Create a new screen.</li> | ||
<li>Use the Picture tool (see page U11-10 of the | <li>Use the Picture tool (see page U11-10 of the "User's Guide") to draw a graphic object that is 2 inches by 2 inches (use the ruler).</li> | ||
<li>When the Screen Picture dialog box appears, choose Field.</li> | <li>When the Screen Picture dialog box appears, choose Field.</li> | ||
<li>In the Choose Field/Variable dialog box, select spin.spinpict, and choose OK.</li> | <li>In the Choose Field/Variable dialog box, select spin.spinpict, and choose OK.</li> | ||
<li>Select the Scale Picture--Fill The Frame and Refresh Output Field options. Choose OK.</li> | <li>Select the Scale Picture--Fill The Frame and Refresh Output Field options. Choose OK.</li> | ||
<li>Select the Field tool (see page U11-10) and draw a field on the screen.</li> | <li>Select the Field tool (see page U11-10) and draw a field on the screen.</li> | ||
<li>When the Field dialog box appears, select Output Field (Say) under Field and type | <li>When the Field dialog box appears, select Output Field (Say) under Field and type "waittext" (without the quotation marks) in the box that is beside the Output button.</li> | ||
<li>Under Options, select Refresh Output Field, and choose OK.</li> | <li>Under Options, select Refresh Output Field, and choose OK.</li> | ||
<li><p>In the Screen Setup code for the screen, type: ''''''</p> | <li><p>In the Screen Setup code for the screen, type: ''''''</p> | ||
<pre class="CODESAMP"> PUBLIC waittext | <pre class="CODESAMP"> PUBLIC waittext | ||
waittext= | waittext=" " </pre></li> | ||
<li><p>In the Cleanup and Procedures code for the screen, type: ''''''</p> | <li><p>In the Cleanup and Procedures code for the screen, type: ''''''</p> | ||
<pre class="CODESAMP"> PROCEDURE spinit | <pre class="CODESAMP"> PROCEDURE spinit | ||
Line 77: | Line 77: | ||
RETURN </pre></li> | RETURN </pre></li> | ||
<li><p>In the On Screen Entry (When)... code for the screen, type: ''''''</p> | <li><p>In the On Screen Entry (When)... code for the screen, type: ''''''</p> | ||
<pre class="CODESAMP"> waittext= | <pre class="CODESAMP"> waittext="Executing Command 1" && Text that is displayed | ||
&& telling user what | && telling user what | ||
&& routine/command is being | && routine/command is being | ||
Line 89: | Line 89: | ||
WAIT WINDOW 'Command 1' | WAIT WINDOW 'Command 1' | ||
waittext= | waittext="Executing Command 2" && Text that is displayed | ||
&& telling user what | && telling user what | ||
&& routine/command is being | && routine/command is being |
Revision as of 08:25, 20 July 2020
The information in this article applies to:
SUMMARYIn some cases, you may want to use a screen other than a thermometer bar to notify the user to wait while some commands are being executed.
MORE INFORMATIONCreating the Bitmaps
Creating the Database for the Bitmaps
Creating the Screen
Keywords : kbcode kbVFp300 kbVFp500 Version : Platform : Issue type : kbhowto |
Last Reviewed: August 18, 1999 |