Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling an object in a grid
Message
De
07/02/2003 08:16:41
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
06/02/2003 13:35:26
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00750051
Message ID:
00750519
Vues:
20
Yep ... it's a good day when I only find 1-2 bugs, er, "features" ...

Coincidently, I wasted a fair amount of time on this one today too.

The .When seems to execute everytime ... but the RETURN .F. is simply ignored when the mouse is clicked.

This seemed to be the "tidiest" solution (in the TextBox's .When):
IF MDOWN()
   KEYBOARD "{TAB}" PLAIN
ENDIF

RETURN .F.
(2 steps forward, 1 step back).

>I'm trying to put code in all kinds of places to handle this on a grid; so far unsuccessfully. When a checkbox is checked and user goes to the adjacent column's textbox it should be disabled. All is well unless the user simply clicks on the textbox with the mouse. It remains enabled. I've tried the textbox When, GotFocus and other places. Why won't it disable if I have code in the When to handle it?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform