Home » Developer & Programmer » Forms » text box and check box problem.....
text box and check box problem..... [message #174318] Sat, 27 May 2006 11:08 Go to next message
oracleproblem
Messages: 47
Registered: May 2006
Location: Dhaka
Member

friends,

i have a form this form contains one text box and a check box...
i want that when a form executes that time text box will be invisible...and if I click the check box that time text box will be visible ..........please help me ..... with examlpe

please help me...........masud
Re: text box and check box problem..... [message #174329 is a reply to message #174318] Sat, 27 May 2006 15:06 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
One way could be this:

In the WHEN-NEW-FORM-INSTANCE trigger hide text item using:

SET_ITEM_PROPERTY('text_item', DISPLAYED, property_false);


WHEN-CHECKBOX-CHANGED trigger should look like this:

IF checkbox_checked('checkbox_item')
THEN
SET_ITEM_PROPERTY('text_item', DISPLAYED, property_true);
END IF;
Previous Topic: ITS URGENT! HOW I MAKE THE PICTURE FROM WEB CAM OR PC CAMERA
Next Topic: Hierarchical Tree
Goto Forum:
  


Current Time: Fri Sep 20 09:51:04 CDT 2024