How to make the push button dynamically change after query data?

From: Robert Hoy <hoy_at_solaria.hac.com>
Date: Tue, 26 Jan 1999 15:53:39 -0800
Message-ID: <78lke4$eoq_at_hacgate2.hac.com>


Hello,

[Quoted] I have the push button and it's enabled to use icon. After querying the data, each push button
should be able to point to the correct icon filename (using the set_item_property function). Let
me set an example here so it'll clarify what I'm trying to accomplish here.

I have a table of two columns, rec_no and color. On the Dev/2000 Form, on the window,
it shows three columns and a scroll bar. These three columns being displayed are: rec_no,
color, and push button. These three are set to display 5 records on the window. When I
query the data, rec_no=1 has "red" in color field and the push button should be able to
show red_icon. The next record, rec_no=2 has "blue" in color field and the push button
should point to red_icon. The next record, rec_no=3 has "yellow" in color field and the
push button should display yellow_icon. And so on. There is a scroll bar that allows me
to scroll down and the push button should also change.

I've not been able to achieve this yet. If anyone could share with me with some examples,
I would greatly appreciate it!! Many thanks!!

-Robert Received on Wed Jan 27 1999 - 00:53:39 CET

Original text of this message