Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicBackColor invalid expr if the grid has focus else NP
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
DynamicBackColor invalid expr if the grid has focus else NP
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01318705
Message ID:
01318705
Views:
135
Hi all

I have this modal form that is active as soon as the app starts. If the user closes the app with the focus anywhere on the form but the grid then there are no problems.

If the focus is on the grid and the app is closed I get the message that "Expression is invalid. Use a valid expression for DYNAMICBACKCOLOR property." for each column in the grid. I am using GridHighlighter if it matters.

This happens way before form unload or grid destroy, so what will the best place to have a SETALL() code that resets the DynamicBackColor property or shift the focus out of the grid to avoid this behavior.

Please advise. Thanks.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform