-
I want to hide a textbox when a user in a normal mode and show it in query mode.
I wrote the following code into "when_new_block_instance" trigger.
IF :System.Mode = 'NORMAL' THEN
set_item_property('blk_name.item_name',visible,'no');
ELSE
set_item_property('blk_name.item_name',visible,'yes');
END IF;
Unfortunately, i can't get it to work...my code is not workin.
Can someone help me please.
-
set_item_property('blk_name.item_name',visible,'no');
should be
set_item_property('blk_name.item_name',visible,property_false);
set_item_property('blk_name.item_name',visible,'yes');
should be
set_item_property('blk_name.item_name',visible,property_true);