<br><font size=2 face="sans-serif">How about a repaint before the DoEvents?</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>"Rocky Smolin - Beach Access Software" <bchacc@san.rr.com></b></font>
<br><font size=1 face="sans-serif">Sent by: accessd-bounces@databaseadvisors.com</font>
<p><font size=1 face="sans-serif">09/02/2003 05:49 PM</font>
<br><font size=1 face="sans-serif">Please respond to Access Developers discussion and problem solving        </font>
<br>
<td><font size=1 face="Arial">        </font>
<br><font size=1 face="sans-serif">        To:        "Access Developers discussion and problem solving" <accessd@databaseadvisors.com></font>
<br><font size=1 face="sans-serif">        cc:        </font>
<br><font size=1 face="sans-serif">        Subject:        Re: [AccessD] Check Box Problem</font></table>
<br>
<br>
<br><font size=2 face="Arial">Rats.  No soap.  Tried it both before and after the call to the delay function, and also as the first statement in the fraYesNo_AfterUpdate() sub.  But no check mark.  Any other thoughts?</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">Rocky</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman">----- Original Message ----- </font>
<br><font size=3 face="Times New Roman"><b>From:</b> </font><a href=mailto:DWUTKA@marlow.com><font size=3 color=blue face="Times New Roman"><u>Drew Wutka</u></font></a><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"><b>To:</b> </font><a href=mailto:accessd@databaseadvisors.com><font size=3 color=blue face="Times New Roman"><u>'Access Developers discussion and problem solving'</u></font></a><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"><b>Sent:</b> Tuesday, September 02, 2003 3:28 PM</font>
<br><font size=3 face="Times New Roman"><b>Subject:</b> RE: [AccessD] Check Box Problem</font>
<br>
<br><font size=2 color=blue face="Arial">Try a DoEvents statement, so that it allows the screen to refresh before it moves.</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 color=blue face="Arial">Drew</font>
<br><font size=2 face="Tahoma">-----Original Message-----<b><br>
From:</b> Rocky Smolin - Beach Access Software [mailto:bchacc@san.rr.com]<b><br>
Sent:</b> Tuesday, September 02, 2003 5:15 PM<b><br>
To:</b> </font><a href=mailto:AccessD@databaseadvisors.com><font size=2 color=blue face="Tahoma"><u>AccessD@databaseadvisors.com</u></font></a><font size=2 face="Tahoma"><b><br>
Subject:</b> [AccessD] Check Box Problem<br>
</font>
<br><font size=2 face="Arial">Dear List:</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">I have an app that is basically a questionnaire.  Most questions display an option frame with check boxes labeled Yes and No.  After making a selection the focus moves to the 'Next Screen' command button.  </font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">Then I added an 'Auto Advance' feature where the program automatically advances to the next question after a 1/2 second delay.</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">Private Sub fraYesNo_AfterUpdate()<br>
    If fraAutoAdvance = 1 Then<br>
        Call Delay<br>
        Call cmdNextQuestion_Click<br>
    End If<br>
End Sub</font>
<br><font size=2 face="Arial">where delay is:</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">Public Sub Delay()</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">Dim varstop As Variant</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">varstop = Timer + gdblDelay</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">Do Until Timer > varstop<br>
Loop</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">End Sub</font>
<br><font size=2 face="Arial">When the question is first displayed, both the Yes and the No check boxes have a gray background.  Without the auto advance, the focus moves to the Next Screen button and the check mark dutifully appears in the proper box.  </font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">The problem is that when the user is using the Auto-Advance feature the clicked check box remains gray, the unclicked check box turns white, and after 1/2 second the next screen appears. So it's a bit confusing to the eye.</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">I cannot figure out a way to make the check mark appear in the box.  Anyone see what' I'm doing wrong?</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">MTIA and regards,</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">Rocky Smolin<br>
Beach Access Software</font>
<br><font size=2 face="Arial"> </font>
<p>
<hr>
<p><font size=3 face="Times New Roman">_______________________________________________<br>
AccessD mailing list<br>
AccessD@databaseadvisors.com<br>
http://databaseadvisors.com/mailman/listinfo/accessd<br>
Website: http://www.databaseadvisors.com</font><font size=2 face="Courier New">_______________________________________________<br>
AccessD mailing list<br>
AccessD@databaseadvisors.com<br>
http://databaseadvisors.com/mailman/listinfo/accessd<br>
Website: http://www.databaseadvisors.com<br>
</font>
<p>
<p>