FIX: Click Event Triggered If "S" Is Used as Hot Key (156868)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 5.0

This article was previously published under Q156868

SYMPTOMS

In Visual FoxPro 5.0, if "S" is used as a hot key for a CommandButton control, pressing the Delete key while a Checkbox control is selected triggers the click event of the CommandButton.

STATUS

This problem has been fixed in Visual FoxPro 5.0a.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a form.
  2. Add a CheckBox control and a commandbutton with Caption = "\<Save", in the click event of the commandbutton, and put in the following code:
          THISFORM.Release
    						
  3. Save and run the form.
  4. Set the focus to the check box.
  5. Press the Delete key.
The \<Save command button is selected, and the form closes.

Modification Type:MajorLast Reviewed:12/14/1999
Keywords:kbbug kbui kbvfp500aFIX KB156868