‎2008 Feb 19 5:53 AM
hello,
I am using module pool programming.
i want to assign the text to textbox during runtime
thanks!
‎2008 Feb 19 6:43 AM
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.
‎2008 Feb 19 5:59 AM
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.
‎2008 Feb 19 6:01 AM
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.
‎2008 Feb 19 6:08 AM
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
‎2008 Feb 19 6:43 AM
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.