Home » Developer & Programmer » Forms » get_item_property
get_item_property [message #591452] Mon, 29 July 2013 01:09 Go to next message
ashoktarun
Messages: 12
Registered: June 2013
Location: India
Junior Member
i want to fetch the background colour of my text field

i am using

Get_Item_Property('TEXT1',BACKGROUND_COLOR)='r0g127b127

is this valid?

if yes then

its not working here.

Re: get_item_property [message #591454 is a reply to message #591452] Mon, 29 July 2013 01:13 Go to previous message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Of course it is not valid. GET_ITEM_PROPERTY is a function, it returns value. This would be valid:
declare
  l_color varchar2(20);
begin
  l_color := get_item_property('dname', background_color);
  message('Color is ' || l_color);
end;
Previous Topic: CHANGE COLOUR OF DIFFERENT TEXT ITEM
Next Topic: add scroll bar on menu
Goto Forum:
  


Current Time: Fri Apr 26 04:16:28 CDT 2024