Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More grid woes
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00067742
Message ID:
00067790
Views:
25
>Hi,
>
>I've been getting into VFP now for a few weeks and am running into an inconsistency from one screen to another. The problem is in a screen with a grid that allows entry into one field. I set up a new class that has a property for the frozen column. All columns come are populated with a default option of disabled and readonly. In the Init of the new grid class I set up the frozen column to be .Enabled = .t. and .ReadOnly = .f. Everything works great most of the time, but on one out of 3 screens, the CurrentControl for the column has .ReadOnly = .t. This causes a major headache when you want to edit the field. I can't figure out where it's being set. I can even copy the grid from a screen (sorry form) that it is working in to a new screen, don't change anything, and in the second screen it no longer works.
>
>Every time I think I've got it figured out, it happens on the very next screen. I rewrite all of my classes and then it works again for a couple of screens.
>
>If you need more information, let me know and I'll share whatever you need.
>
>TIA,
>
>Rod Lewis

Don't you hate problems like that? :-((

Try following the code in Debug with a breakpoint set for the Readonly property. It looks like it's being re-set somewhere in your form.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform