Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing grid objects
Message
 
To
02/02/1999 12:37:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00182747
Message ID:
00183017
Views:
18
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform