Home » Developer & Programmer » Forms » List element
List element [message #288411] Mon, 17 December 2007 08:13 Go to next message
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 #289026 is a reply to message #288411] Wed, 19 December 2007 05:20 Go to previous messageGo to next message
kollanagoracle
Messages: 5
Registered: December 2007
Junior Member
Hi

Any solution for this please ...

do we have any functionality of changing the list element color in forms 6i?


Thanks in Advance
Naga
Re: List element [message #289051 is a reply to message #289026] Wed, 19 December 2007 06:18 Go to previous messageGo to next message
Maaher
Messages: 7062
Registered: December 2001
Senior Member
I'm afraid not. But I've seen forms where they implemented a modal window as a pick list.

MHE
Re: List element [message #289173 is a reply to message #289051] Wed, 19 December 2007 23:38 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have a look at these:
Working with List-Items
http://www.orafaq.com/forum/m/191330/67467/#msg_191330

Selecting Multiple Values from LOV
http://forums.oracle.com/forums/message.jspa?messageID=590264#590264

Generic LOV - Francois Degrelle, French author from ITToolbox
http://www.oracle.com/technology/products/forms/pdf/10g/community_paper_generic_lov.pdf

LOV validation/Combo Box Problem
http://www.orafaq.com/forum/m/141361/67467/?srch=create+record+group+unique#msg_141361

David
Re: List element [message #289416 is a reply to message #288411] Fri, 21 December 2007 08:33 Go to previous messageGo to next message
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 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT 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
Previous Topic: Proplem in storing data and time in the field
Next Topic: set_window_property
Goto Forum:
  


Current Time: Fri Dec 02 16:54:01 CST 2016

Total time taken to generate the page: 0.32675 seconds