Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change Value of chkBox in Grid
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
Change Value of chkBox in Grid
Divers
Thread ID:
00725392
Message ID:
00725392
Vues:
42
I am asking this question here in CodeMine section, as I think my last question about this has to do with how this item is done in CodeMine in particular. Vlad here in UT did help me with a prior Grid question.

In a grid, I am trying to "check" a chkBox of a column after I hit the Enter key in another read only column. I have the following code in the KeyPressEnvent() of the other field:
LPARAMETERS nKeyCode, nShiftAltCtrl
IF m.nKeyCode = 13
	THIS.PARENT.PARENT.Column4.Chkcheckboxcustom1.SetValue(1)
	THIS.PARENT.PARENT.Column4.Chkcheckboxcustom1.REFRESH()
	NODEFAULT
ELSE
	DODEFAULT(nKeyCode, nShiftAltCtrl)
ENDIF
This does allow me to press Save, and the chkBox is then checked like I want. However, I want to see the Check box "checked" as soon as I press Enter.

Someone know what I am missing (other than the fact that grid's are some of my "weakest" points <g>)?

Mel Cummings
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform