Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing grid objects
Message
 
À
02/02/1999 12:37:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00182747
Message ID:
00183017
Vues:
19
>>>Rich,
>>>
	IF EVALUATE(".Columns(nColIndex)." + m.CtrlName + ".Value") ;
>>>			!= OLDVAL( .Columns(nColIndex).ControlSource )
part seems to fail. Strange maybe but you need a .value = .value first.
>>>Cetin
>>
>>Uhh ... it works on my computer. I'm using VFP6.0 with VS SP1, how about you?
>>
>>Cheers,
>Still VFP5. Not sure if corrected in 6.0. Try w/o enter but moving up or down. Besides oldval() might return null causing error.
>Cetin

Wasn't using Enter, using arrow keys. Whatever direction I move, left, right, up, or down, the code fires and correctly sees whether I did or didn't change the value. I move around without changing anything and the buttons stay disabled (as they're set in form designer). The first time I change a value and then move, the buttons become enabled. Just what I wanted.

Thanks again,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform