title: Remove visual attribute in block in oracle forms 6
body: <p>A small question. How can I remove the visual attribute of some colums in my block? I have created a checkbox which can manipulate the background color of a field in the block.</p>
  
  <p>Now if I select a 'manipulated' record, the 'Current Record Visual Attribute Group' doesn't work anymore. The new color will overrule it.</p>
  
  <p>In the 'when_new_record_instance' of the block, I have specified this code:</p>
  
  <pre><code>set_item_property('block.item1', visual_attribute, '');
  set_item_property('block.item2', visual_attribute, '');
  set_item_property('block.item3', visual_attribute, '');
  set_item_instance_property('block.item1', current_record, visual_attribute, 'selected');
  set_item_instance_property('block.item2', current_record, visual_attribute, 'selected');
  set_item_instance_property('block.item3', current_record, visual_attribute, 'selected');
  </code></pre>
  
  <p>With 'selected' being the visual attribute for the selected record.</p>
  
  <p>But when I navigate to a new record, the old records will still have the color of the 'selected' visual attribute.</p>
  
  <p>The solution might be very obvious, but I can't find it.</p>
  
  <p>Thanks in advance,</p>
  
  <p>Walle</p>