Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Current Control on Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00274650
Message ID:
00274689
Views:
32
In addition to Jim's sparse=.F., try to include your whole IIF statement in quotes (Mike Helland's note). I tried very recently to do the exact same thing but I couldn't get this stupid property to work properly.

Please do me a favor and let me know when and if you ever get your problem solved. I haven't had time to experiment more to make it work but I also need this functionality in one of my app to finish. Thanks.

>I'm trying to pull off the following scenario ...
>
>I have a button in a column of a grid. I want the picture of the button to change, depending on whether the NOTES (memo) field is empty or not. I subclassed my button so I have one with Picture A and one with Picture B. I added the two buttons to the column and put the following in DynamicCurrentControl: IIF(EMPTY(fsiship.notes), 'CmdButtonA', 'CmdButtonB')
>
>It doesn't seem to work right and I can't figure out what it is doing. The picture changes, sometimes, but not in sync with the notes field.
>
>Any suggestions for pulling off this trick?
It's "my" world. You're just living in it.
Previous
Reply
Map
View

Click here to load this message in the networking platform