Application Development and Automation 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: 
Read only

Problem in Module Pool Programming

Former Member
0 Likes
559

hello,

I am using module pool programming.

i want to assign the text to textbox during runtime

thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
537

Hi,

Declare a variable with the same name of the text box in top include.

Then assign the text to this variable during the point u want.

It will get reflected in the text box.

Regards,

Renjith Michael.

http://www.sourceveda.com/index.htm

4 REPLIES 4
Read only

Former Member
0 Likes
537

hi,

first initailly give some name and during runtime u can do like this to change the name

loop at screen if screen-name eq 'something.

screen-name = ' assing name'.

modify screen

endlloop.

plzz reward if it is useful.

Read only

Former Member
0 Likes
537

Hi Raghvendra Bhanap,

declare the variable with the same name of text box(In module pool) and in the PAI even write the module by double clicking on that in your program just assign some text to that name then the text automatically come in that text box.

See this example programm.

*In Screen Painter PAI Event.*

moudle assigntext.

In your Program.

Data w_name(40). (*In the module pool also put this name only)

Module assigntext.

w_name = 'Raghvendra Bhanap'.

Endmodule.

Reward if it is useful,

Mahi.

Read only

Former Member
0 Likes
537

Hi

Its not possible to change text of a text box at runtime instead of that you can make a input/output box and make it for output only and change text at runtime.

Aditya

Read only

Former Member
0 Likes
538

Hi,

Declare a variable with the same name of the text box in top include.

Then assign the text to this variable during the point u want.

It will get reflected in the text box.

Regards,

Renjith Michael.

http://www.sourceveda.com/index.htm