text item and list item [message #111501] |
Wed, 16 March 2005 20:07 |
sshan
Messages: 19 Registered: March 2005
|
Junior Member |
|
|
hi guys,
I have a text item and a list item in my form.
what I need to do is,
when user chooses an elements in the listbox, the content in text item will be automatically changed. e.g., there are 3 elements in the poplist, which are A,B,C. when user select A, the text item will be showing a paired value with A, let's say, 1, and 2 for B, and 3 for C, and so forth.
I kind of know there would be several ways to do it such as Array(?, maybe), Case, even IF...Then. and the buildin functions might be like get_item_instance_property and set_item_instance_property along with parameter "visual_attribute".
I just don't know how to put them together. Can anyone help?
Thanks a lot
|
|
|
|