Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Question
Message
From
06/11/1998 16:37:12
 
 
To
06/11/1998 16:31:07
Rebecca Stottlemire
Kansas State Department of Commerce
Topeka, Kansas, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00155387
Message ID:
00155389
Views:
21
>I have a grid on a form being used for data entry. One column has to be enabled=.F. depending on the data in another column. I have the enable/disable in the AfterRowColChange event, and it works fine as long as the user tabs from column to column, but if the use the up and down arrows to go up and down the column (which I'm sure they will do), it doesn't enable/disabled correctly.
>I need an AfterColRowChange, but there isn't any such thing. Has anyone figured out how to handle this?
>Thanks!!!!!!!!:)

Probably, the more consistent way of handling this kind of problems is to use Column.DynamicCurrentControl property based on some field value, i.e. your column will hold two identical controls (textboxes?) with the only difference that one control.Enabled=.T. and another Enabled=.F.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform