Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Individual Control Enablling in a Grid
Message
 
To
27/08/2010 10:28:47
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:
01478870
Views:
34
>Can't you put the required expression in the Enabled property?
>
>.Enabled = inlist(tender.type,x,y,z)
>
>
>(and column.sparse = .t.)
>

Didn't try that... but thanks for the heads up.... I wound up using DynamicCurrentControl for the Column to do the job...
Thisform.grdTndrtype.column9.DynamicCurrentControl=;
	"IIF(INLIST(tndrtype.tndr_no,3,4,5,8,15),'chkCashBack','chkDisabled')"
and added a "dummy" checkbox called chkDisabled that is Disabled and not bound.

thanks!
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform