List element [message #288411] |
Mon, 17 December 2007 08:13 |
kollanagoracle
Messages: 5 Registered: December 2007
|
Junior Member |
|
|
Hi
i need an urgent help regarding the list element.I am using picklist property in my form like user can pick particular values from the list populated to the list item to another block. Here is my requirement
i want to show specific list value in different color depends on the condition .
i am using the code
FOR j in 1..v_count
LOOP
v_unselected_value := to_number(GET_LIST_ELEMENT_VALUE('BLOCK.LIST ITEM',j));
For rec in c1(3)
loop
if v_unselected_value =rec.tempvalue then
FND_MESSAGE.SET_STRING('Success');
FND_MESSAGE.SHOW;
SET_ITEM_INSTANCE_PROPERTY ('BLOCK.LIST ITEM',j, visual_attribute, 'CUSTOM1');
/*set_item_property 'BLOCK.LIST ITEM',CURRENT_RECORD_ATTRIBUTE,'CUSTOM1');*/
end if;
end loop;
END LOOP;
here i am checking the list item values with the records fetching by cursor c1;
if my cursor value equals to any one value of the list item then i need to show that value in different color.
The above set_item property is hilighting entire list item box instead of particular value.
Is any other way to show the specific value in the list element in different color. Please see the support doc attached.
Please help
Thanks
naga
|
|
|
|
|
|
Re: List element [message #289416 is a reply to message #288411] |
Fri, 21 December 2007 08:33 |
kollanagoracle
Messages: 5 Registered: December 2007
|
Junior Member |
|
|
HI David
Thanks for the information provided by you. The PDf file for the forms 10g is really helpful for my reference .
Still i did not get the clue to change the color.
I am able to create dynamic record group, populate , delete , select . The list item /pick list things are working fine.
My question is can we set the color property to a particular list value ( i am checking the list values populated with some set and if any of the list value equals to that set , i should show that list value in different color. Please check the support document attached in my first posting.
is there any property for List element to set the color like item,record..?
if any clue please share ..
Thanks in Advance
Naga
|
|
|
Re: List element [message #291359 is a reply to message #289416] |
Fri, 04 January 2008 00:12 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Didn't the reference to "Selecting Multiple Values from LOV" I gave above show how to highlight multiple entries or are you trying to use more than one colour for your selected items?
David
|
|
|