Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limiting selection of a checkbox in FP 2.6 styled code
Message
De
14/05/2007 16:19:08
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Limiting selection of a checkbox in FP 2.6 styled code
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01225372
Message ID:
01225372
Vues:
67
This is an old styled Foxpro checkbox. It is selected/deselected when the user clicks on it with the mouse, hits the spacebar or Enter when it has the focus. How can I restrict that to not include hitting the Enter key? Does changing the value of the Collect variable in the v_Collect procedure while trapping for the Enter key make sense? Seems a bit back-assward. Any ideas? Thanks!

UPDATE: Ok, that doesn't really work because visually the checkboxes still check/uncheck. This @ SAY stuff really kinda blows to work with.
**	'Turned Over for Collection'
@ 19 * row_incr, 41 GET COLLECT ;
	FUNCTION '*C ' + ALLTRIM( s1_prompt[ 22 ] ) ;
	VALID v_collect() ;
	COLOR ,,,,,,,,&control1_color,&disabl1_color
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform