Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling grid cell
Message
From
23/09/1999 14:46:58
 
 
To
22/09/1999 21:04:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00267849
Message ID:
00268147
Views:
23
O.K., I've been playing around with this idea this morning but can't get anywhere. Somehow, I'm not using the DynamicCurrentControl propery correctly. For example, I've tried testing by putting this code in the AfterRowColChange event:

THISFORM.Grid1.Column1.DynamicCurrentControl = IIF(RECNO('cTable')=2,"Text1","Text2")

Ed, can you please give me some code sample on how to use this property properly? Thanks.

>You may add two controls (textboxes) to each column, one is permanently enabled and another- disabled. Then you will use Column.DynamicCurrentControl to 'enable/disable' cells (property expression will be based on some record field value).
It's "my" world. You're just living in it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform