Im using Oracle Forms 10g. I wish to hide and display a button and a text item (a simple label) by clicking radio buttons. To obtain this, I put a script in WHEN-MOUSE-CLICK trigger of the radio-group.
I got my goal with the button item by using SET_ITEM_PROPERTY('block.button_item',visible,property_false). But I cant obtain the same result with my label. I guess the SET_ITEM_PROPERTY('canvas.text_label',visible,property_false) doesnt work because the label is put into a canvas. I tried to use SET_VIEW_PROPERTY('text_label',visible,property_false), and also HIDE_VIEW('text_label') but neither of the two works.
Is there a way to hide the text label? please help me
Well that sucks. I had some graphic text I wanted to hide when the form opens and un-hide it when I click specific buttons. If I use the text item when I load my form all the data fields are blanked instead of showing the first record in the table.
Don't suppose there's a way to do this?