PRB: Lockscreen with Assert Dialog Causes Problems with ControlsLast reviewed: December 2, 1997Article ID: Q168039 |
The information in this article applies to:
SYMPTOMSWhen you run a form, clicking on a checkbox does not change its state. If there are option buttons on the form, clicking the checkbox may change the state of the option buttons. Clicking the checkbox may even select more than one option button in the same option group. Clicking one of the option buttons may change the state of the checkbox. In other words, the checkboxes and option buttons are malfunctioning.
CAUSESeveral factors lead to this behavior. First, ASSERTS must be set ON and the LockScreen property of the form changed to true (.T.) before an expression that is ASSERTed evaluates to false (.F.). Next, Ignore or Ignore All must be chosen in the message box displayed by the ASSERT command. Finally, LockScreen must be changed back to false (.F.).
RESOLUTIONDo not use LockScreen when using the ASSERT command.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONWhen SET ASSERTS is ON, the ASSERT command will display a message box if a logical expression evaluates to false (.F.). The following commands issued from within a program file will illustrate:
SET ASSERTS ON ASSERT 1=2 && will cause a message box. Steps to Reproduce Behavior
REFERENCESVisual FoxPro Online Help Keywords : FxprgGeneral FxtoolFormdes vfoxwin kbprb Version : 5.00 5.00a Platform : WINDOWS |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |