show/hide button
389874Aug 26 2003 — edited Sep 2 2003i've a form where i show/hide a button via a value in a text-item.
PROCEDURE show_hide IS
BEGIN
case :block.item
when '1' then
set_item_property('block.button',VISIBLE,PROPERTY_TRUE);
when '2' then
set_item_property('block.button',VISIBLE,PROPERTY_FALSE);
else
null;
end case;
END;
the button is once visible and once hidden. but it's no more active, when it was hidden once.
i tried to set_item_property('block.button',enabled,property_true), but nothing changed.
is this normal?
how can i re-enable the button?
set visibility to false and then to true seems not to work.