KSK Well Known Member Feb 25, 2010 #1 Hi, Please give the solution to update the static text at Run time in FDA.
Gary P Active Member Feb 25, 2010 #2 There is a system function "Set Control Text" I believe it's called. You pop in the name of the static text control and the string representing what you want it to be, and viola.
There is a system function "Set Control Text" I believe it's called. You pop in the name of the static text control and the string representing what you want it to be, and viola.
Remo Williams VIP Member Feb 26, 2010 #3 That's part of the solution. First you'll need to associate a data dictionary item (like DL01) to the static text control.
That's part of the solution. First you'll need to associate a data dictionary item (like DL01) to the static text control.
Zoltan_Gyimesi Legendary Poster Feb 26, 2010 #4 Hi Siva Kumar, It works as a simple assignment to FC Static Text, at least on XE SP23. Regards, Zoltán
Hi Siva Kumar, It works as a simple assignment to FC Static Text, at least on XE SP23. Regards, Zoltán
Remo Williams VIP Member Feb 26, 2010 #5 hi zoltan, that's interesting, cuz what i stated above was based on my xe-experience as well: - simple assignment doesn't work; - Set Control Text only works if a dd item is associated with the static text control in question. i checked with xe demo just now, but that one has sp19, so perhaps they changed it in later versions.
hi zoltan, that's interesting, cuz what i stated above was based on my xe-experience as well: - simple assignment doesn't work; - Set Control Text only works if a dd item is associated with the static text control in question. i checked with xe demo just now, but that one has sp19, so perhaps they changed it in later versions.
KSK Well Known Member Feb 27, 2010 #6 Hi Gary, I've checked in XE , SetControlText system function help me to change the static text . Without Associating the DD also SetControlText is working fine. Thanks for the solution
Hi Gary, I've checked in XE , SetControlText system function help me to change the static text . Without Associating the DD also SetControlText is working fine. Thanks for the solution