Home » Developer & Programmer » Forms » Set_Item_Property (Form Builder 6i)
Set_Item_Property [message #516063] Thu, 14 July 2011 20:57 Go to next message
fadhzone
Messages: 61
Registered: April 2008
Member
Hi All,

I've this code:
IF :BL_HDR.SECT_CD IN (104,105,114,115) THEN
   	SET_ITEM_PROPERTY('BL_DTL.UOM', DISPLAYED, PROPERTY_TRUE);
   	SET_ITEM_PROPERTY('BL_DTL.SKU_DESC', WIDTH, 195);
ELSE
	SET_ITEM_PROPERTY('BL_DTL.UOM', DISPLAYED, PROPERTY_FALSE);
   	SET_ITEM_PROPERTY('BL_DTL.SKU_DESC', WIDTH, 220);
END IF;


If i use this code, the font color turn to grey?why this happened even though the field property had been set to black?
Re: Set_Item_Property [message #516118 is a reply to message #516063] Fri, 15 July 2011 02:53 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I suppose that it is because of propagation of property changes. When you set DISPLAYED property to FALSE, the following properties are also set to FALSE: ENABLED, NAVIGABLE, UPDATEABLE, UPDATE_NULL, REQUIRED, QUERYABLE (check Forms Help for more information).

So, if the item is not enabled, its color changes to gray.
Re: Set_Item_Property [message #519567 is a reply to message #516118] Sun, 14 August 2011 22:20 Go to previous message
fadhzone
Messages: 61
Registered: April 2008
Member
Littlefoot thanks for your help.
Previous Topic: Accessing Oracle forms from PDA
Next Topic: Undefined error
Goto Forum:
  


Current Time: Sun Sep 08 23:02:31 CDT 2024