Yasir Malik
Yasir Malik

Reputation: 23

how to change particular column cell foreground and background color in oracle forms 6i using visual attribute

I am using this code

IF :SAL > 4000 THEN
     SET_ITEM_PROPERTY('EMP.SAL',VISUAL_ATTRIBUTE,'VA_COLOR');
END IF;  

This code is colored all column, but i want to color only particular cell where i am changing the salary value.

Upvotes: 2

Views: 2384

Answers (1)

Ricardo Arnold
Ricardo Arnold

Reputation: 913

maybe you can use SET_ITEM_INSTANCE_PROPERTY

set_item_instance_property('EMP.SAL', current_record, visual_attribute,'VA_COLOR' );

Upvotes: 3

Related Questions