General information
Category:
Coding, syntax & commands
Title:
Converting VFP5 app to VFP9
Environment versions
Network:
Windows 2003 Server
In my conversion, I am getting the following error.
Cannot call SetFocus from within a When, Valid, RangeHigh or RangeLow event.
How do I handle this?
What is happening, is a user is changing a option group item and a requery of a grid occurs. After the requery is done, the code sets focus to the grid via:
thisform.cgrid1.setfocus()
Any ideas?
TIA,
Mike
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only