Oracle Forms (MOSC)

MOSC Banner

Disable enter some text to TextItem

edited Jun 6, 2011 11:47PM in Oracle Forms (MOSC) 2 commentsAnswered ✓
 Hi all,

     I have a TextItem and a button A. This button will call LOV when user click on it. Value from Lov assigned to TextItem.

     My goal disable user enter some text to TextItem, they only choice from Lov when they click on button A.

     First, when form start, I configure

          Set_Item_Property('PARAMETERS.MY_TEXTITEM', ENABLED, PROPERTY_FALSE);

     When user click on button and choice value from Lov, I configure:

           Set_Item_Property('PARAMETERS.MY_TEXTITEM', ENABLED, PROPERTY_TRUE);

     After that, I check if MY_TEXTITEM has value , I configure:

           Set_Item_Property('PARAMETERS.MY_TEXTITEM', ENABLED, PROPERTY_FALSE); --->  But I meet error.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center