Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ListBox Events

Former Member
0 Kudos

Hi,

i have a listbox that is in the screen 0100. i want to do something when i select an item from that listbox at same time? ( as web listbox events ).

Can somebody help me pls?

Thanks to everybody.

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

if you set the Function code for the Listbox field in the screen attributes , then you will be able to handle that like a button . in the PAI you can get handle the function code and do what ever you want.

module user_command input.
case ok_code.
when 'LISTBOX'.
 "handle that here..
endcase.
endmodule.

0 Kudos

Thanks you Vijay,

it's a correct answer and thanks you again but i've forgotten to write a fcode of listbox in screenpainter attributes so whatever it doesn't go to pai modules when select an item from listbox.

And problem solved now.

Thanks again.

Regards.

Former Member
0 Kudos

Answered