Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Individual Control Enablling in a Grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01478823
Message ID:
01478871
Views:
30
>I went ahead and used DynamicCurrentControl to do the job. 2 controls in the column - the 1st is the original checkbox, and the 2nd is another that is disabled and not bound to any field. The DCC picks the correct control based upon the tender type.
>
>This is in the INIT of the grid...
>
>
>Thisform.grdTndrtype.column9.DynamicCurrentControl=;
>	"IIF(INLIST(tndrtype.tndr_no,3,4,5,8,15),'chkCashBack','chkDisabled')"
>
>
>Works good.
>
>Thanks!

I thought originally of suggesting DynamicCurrentControl for this, but then thought it may be an overkill.

Unless, of course, you wanted multiple rows to show enabled vs. disabled status.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform