Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00393433
Message ID:
00393524
Views:
19
>I have replaced the textbox in a grid column with a command
>button with the caption 'View' to indicate when the memo
>field has data in it.
>
>Anyone know how to dynamically set the button's FontBold
>property when the field has data in it?
>
>Thanks
Kevin,

Put two command buttons in the column, one named cmdHasData and the other named cmdNoData. Set the foltbold for cmdHasData to .T., and cmdNoData to .F., IN the DynamicCurrentControl property for the column put this;

IIF(EMPTY(FieldName),"cmdNoData","cmdHasData")

Also set the Sparse property for the column to .F.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform