Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox click - how to prevent changing the value?
Message
De
09/07/2010 17:48:15
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01471953
Message ID:
01472096
Vues:
56
It's the MouseUp() that needs the code.

LPARAMETERS nButton, nShift, nXCoord, nYCoord
IF This.ReadOnly
NODEFAULT && This prevents the buffer from getting dirty when this control is ReadOnly.
ENDIF

>>>>You can also NODEFAULT in the MouseDown()
>>>
>>>Do I need to call DODEFAULT otherwise? It does prevent the click, but doesn't seem to allow it if condition met.
>>
>>
>>If (I do not want the click to happen )
>>   NODEFAULT
>>  return
>>endif
>>
>
>Doesn't work.
>
>It prevents the click even if I want it to happen.
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform