Programatically effecting one button in a multi-record block
Date: Fri, 29 Dec 2000 01:31:14 GMT
Message-ID: <CPR26.27927$bw.1773897_at_news.flash.net>
I have developer 6i and a multi-record block. Each record has a button with it [W] for warning messages. If there are warning messages for the current record, I want the button to appear different (or maybe be enabled). If not, then I want it to be disabled.
I tried to color the button using display_item, and set_item_instance_property with a visual attribute (background color=red), but it had no effect. The label for the button is simply "W"
Any suggestions how to pull this off?
A friend of mine suggested removing all the buttons and displaying a single button for all records at the bottom, that would have a display-item beside it (text) that was based on the current record. It would still be populated in a post-query (or similar operation) and have an ASTERISK if the button would have any "associated" details, otherwise it would be blank.
The user will NOT be able to edit/update the warning messages, just SEE them. Received on Fri Dec 29 2000 - 02:31:14 CET