Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in grid clears grid - on {Enter} only
Message
From
22/03/2010 08:00:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Checkbox in grid clears grid - on {Enter} only
Miscellaneous
Thread ID:
01456045
Message ID:
01456045
Views:
162
I have a checkbox in a grid with this code in interactivechange method:

TRY
IF THIS.VALUE = .T. AND InventoryByRequisition.TaxCredit = .T.
REPLACE InventoryByRequisition.TaxCredit WITH .F.
ENDIF
CATCH TO oEx
oEx = NULL
ENDTRY

When I check / uncheck by using the mouse or the spacebar everything works fine, but pressing the Enter key clears the grid and I haven't found a way to to debug or recover from this behavior.

There is no custom code in the when or valid section of the checkbox.

TIA
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Next
Reply
Map
View

Click here to load this message in the networking platform