Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Individual Control Enablling in a Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01478823
Message ID:
01478871
Vues:
31
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform