Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 To: mk sharma
  Where is mk sharma?
 mumbai
 India
 mk sharma
 Tags
Subject: RE: how to prevent chechbox selection
Thread ID: 78560 Message ID: 78561 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Wednesday, October 05, 2005 3:16:36 PM         
   


> i want to stop check box selection by presing enter button.
>
> when i press enter key on my checkbox it is selected/deselected but i want to select/deselect my check box by presing spacebar only.
>
> warm regards,
> mk




In the Keypress event of the CheckBox put:

IF nKeyCode == 13
NODEFAULT
*****
** If you want to skip to the next control of the form
** unmark following line
** KEYBOARD '{TAB}' PLAIN
RETURN
ENDIF

ENTIRE THREAD

how to prevent chechbox selection Posted by mk sharma @ 10/5/2005 3:13:34 PM
RE: how to prevent chechbox selection Posted by Borislav Borissov @ 10/5/2005 3:16:36 PM