Home » Developer & Programmer » Forms » Input problem
Input problem [message #231119] Sat, 14 April 2007 11:20 Go to next message
oracleproblem
Messages: 47
Registered: May 2006
Location: Dhaka
Member
Sir,
I have a form ,this form contain two textbox and one checkbox
when this form run one textbox is enable and another textbox is disable,
when i click the check box that time another check box is enable,
all process is ok,but my problem check box related text box not support any
input why?i want to write any thing this text box....,
please down load my attachment and view and give me solution
Masud(Dhaka,Bangladesh)
Re: Input problem [message #231144 is a reply to message #231119] Sun, 15 April 2007 01:24 Go to previous messageGo to next message
sameer_am2002
Messages: 129
Registered: September 2002
Senior Member
i think you need to set insert_allowed , update_allowed property
for the item..coz when you make enable property of item to property_on we also need to set the above 2 mentioned properties.
Re: Input problem [message #232078 is a reply to message #231144] Thu, 19 April 2007 05:12 Go to previous message
mermarmad
Messages: 3
Registered: February 2006
Location: Egypt
Junior Member
in <WHEN-CHECKBOX-CHANGED>
you can write this code

IF checkbox_checked('check_box7')
THEN
SET_ITEM_PROPERTY('text_item6', DISPLAYED, property_true);
SET_ITEM_PROPERTY('TEXT_ITEM6',ENABLED,PROPERTY_TRUE);
SET_ITEM_PROPERTY('TEXT_ITEM6',NAVIGABLE,PROPERTY_TRUE);
ELSE
SET_ITEM_PROPERTY('text_item6', DISPLAYED, property_FALSE);
END IF;



Previous Topic: How to Create data block using sored procedure in Oracle Forms
Next Topic: How to jump to the parent record in a hierachical table in forms
Goto Forum:
  


Current Time: Sun Dec 08 19:06:23 CST 2024