Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CommandButton in Grid
Message
 
 
To
25/08/2003 14:29:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00823146
Message ID:
00823268
Views:
20
Hi Ken,

>How do you setup a command button in a grid so that either:
>1) The caption changes to the value of the ControlSource of the column

>2) The Enabled property of the command button is based on a value in the ControlSource of the column.

Add two buttons to the column: btnDisabled with Enabled = .F. and btnEnabled. Put into columns DynamicCurrentControl = [IIF(< condition >, "btnDisabled", "btnEnabled")]
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform