Tick Box problem [message #89377] |
Tue, 02 March 2004 13:45 |
Pacman
Messages: 1 Registered: March 2004
|
Junior Member |
|
|
I want to have a form with a tick box on it and then check it and cause a text box to become visibile, i am not sure how to do this and am wondering if anyone can tell me how to do this.
Thanks
|
|
|
Re: Tick Box problem [message #89395 is a reply to message #89377] |
Thu, 11 March 2004 02:07 |
J.S.Rajkumar
Messages: 20 Registered: March 2004
|
Junior Member |
|
|
Hi
We call it a Check box in forms.
Create a check box named C1.
Set the following properties
1.Value when checked = 1
2.Value when unchecked = 0
Apply the following logic in When-Check-Box-Changed Trigger.
IF :c1 = 1 THEN
set_item_property(':text1',visible,property_false);
ELSE
set_item_property(':text1',visible,property_true);
END IF;
Thanks
|
|
|