Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

change background color of row in oracle forms

User_PA5AUFeb 16 2021

Hi,

Im using tabular form in oracle forms, which contain 10 columns.

We created multiple buttons on screen to add, update, delete, duplicate rows in tabular forms.

I created visual attribute VA_01 to change background color.

<b>I need to change background color of the row which are duplicated, not newly created row. </b>

I tried <b>SET_BLOCK_PROPERTY('PROD_TABLE', CURRENT_RECORD_ATTRIBUTE, 'VA_01');</b> on duplicate button, but it change background color of newly created row as cursor move to next row. I also use <b>SET_ITEM_INSTANCE_PROPERTY(:system.cursor_item, current_record,VISUAL_ATTRIBUTE, 'VA_01');</b> but it is not applying on complete row, it only change color of single column.
Capture.JPG

Comments

Post Details

Added on Feb 16 2021
5 comments
5,928 views